On Thu, Aug 22, 2013 at 9:39 AM, Boris Zbarsky <[email protected]> wrote:
> On 8/22/13 3:17 AM, Mark Hammond wrote: > >> What I believe is happening is that this speculative connection is being >> reused for the connection made by the "anonymous" docShell, and as a >> result mCaps on the transport isn't getting the NS_HTTP_LOAD_ANONYMOUS >> flag >> > > That sounds entirely likely... > > In particular, nsHttpConnectionMgr::**MakeNewConnection doesn't seem to > compare trans->Caps() to ent->mHalfOpens[i]->**Transaction()->Caps() > before reusing ent->mHalfOpens[i], afaict, and I think it should. But > someone who knows the HTTP code better than I should check that. > > the anonymous flag should be reflected in the mConnectionInfo key (and therefore implicit in "ent" already). The CI Anonymous flag is set by HttpChannel based on its load flags. MakeNewConnection() doesn't need to check it. (I haven't read this whole email thread in detail - so maybe I'm not addressing the relevant question) _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
