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
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.