Comment 218 for bug 113201

Revision history for this message
In , Jmuizelaar (jmuizelaar) wrote :

Created an attachment (id=346141)
[2/2] v3: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution

Defers proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution and adds code to SetupReplacementChannel to ensure that the proxy channel is similar to the original channel.

It also adds a necko unit test and a mochi test to that the proxy channel preserves the needed properties of the original channel.