95
edits
(created the page with two questions.) |
(added Q3 about removing and putting back references) |
||
Line 25: | Line 25: | ||
Q2. What all things are logically represented by a transaction (a nsHttpTransaction or a nsHttpPipeline object)? | Q2. What all things are logically represented by a transaction (a nsHttpTransaction or a nsHttpPipeline object)? | ||
Q3. In [http://mxr.mozilla.org/mozilla-central/source/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp#705, this part of code] we take away references to the actual connection from both the transaction and the wrapper object connection handle. But later in [http://mxr.mozilla.org/mozilla-central/source/netwerk/protocol/http/src/nsHttpConnectionMgr.cpp#570, DispatchTranscation] we populate the two objects with the same connection. What is the reason for this? Is this to take care of the situation where in initially pipelining was not done and now it needs to be done? What is rationale behind this code? |
edits