Re: Forcing every request from a docShell to use LOAD_ANONYMOUS
Boris Zbarsky <[email protected]> Thu, 22 Aug 2013 09:39:13 -0400
| Newsgroups | gmane.comp.mozilla.devel.netlib |
|---|---|
| Message-ID | <[email protected]> |
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. -Boris