From:  Josh Matthews <josh@joshmatthews.net>
Date:  01 Sep 2015 03:47:10 Hong Kong Time
Newsgroup:  news.mozilla.org/mozilla.dev.tech.network
Subject:  

Activating a connection/dispatching a transaction

NNTP-Posting-Host:  66.207.208.102

Digging around in the low level networking stuff, I have some questions:

What does it mean for a connection to be activated (ie. 
nsHttpConnection::Activate)? What would a connection not be activated? 
What does it mean for a transaction to be dispatched?

The context for these questions is that I'm trying to figure out how 
Gecko decides what to do with the residual bytes left over from an HTTP 
response to a FETCH request, where the response contains a non-empty 
body in violation of the spec. It appears that Activate discards any 
bytes that were pushed back into the connection, but what guides this 
decision?

Cheers,
JOsh