On 9/8/12 3:17 AM, [email protected] wrote:
What's the relationship between [HTTP] channels, transactions and connections?

My understanding, which may not be correct.

An HTTP connection corresponds to an actual TCP connection.

An HTTP transaction corresponds to an HTTP request/response pair. Multiple transactions can happen on the same connection, either one after another with keep-alive. I'm not sure how this all works with pipelining, since an nsHttpPipeline implements both the connection and transaction APIs....

An http channel is the representation of one HTTP transaction as exposed to the rest of Gecko.

-Boris
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to