From:  Josh Matthews <>
Date:  01 Sep 2015 03:47:10 Hong Kong Time

Activating a connection/dispatching a transaction


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