[Webkit-unassigned] [Bug 27165] Connections-per-host should be tracked closer to the ResourceHandle level, not the Cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 5 17:00:48 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=27165





--- Comment #38 from Alexey Proskuryakov <ap at webkit.org>  2010-11-05 17:00:47 PST ---
> I'm having trouble finding the code where we store the credentials.  Is that somewhere in WebCore?

Yes, but it's in platform specific code. For Mac, it's in ResourceHandle::createNSURLConnection():

            // If there is already a protection space known for the URL, update stored credentials before sending a request.
            // This makes it possible to implement logout by sending an XMLHttpRequest with known incorrect credentials, and aborting it immediately
            // (so that an authentication dialog doesn't pop up).
            CredentialStorage::set(Credential(d->m_user, d->m_pass, CredentialPersistenceNone), firstRequest().url());

This approach will have the same problem that you described though.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list