Bug 1640091 Comment 11 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

FWIW, I can also see DNS resolution failed without using `TRRServiceChannel`.

I think this some kind of a dead lock problem.
1.  In PAC script, `dnsResolve()` is called. Note that at this moment, proxy resolution is not done.
2. We create a TRRServiceChannel (or nsHttpChannel) to do TRR.
3. The channel needs to do proxy resolution again.
4. I am not sure what happens here, but the new channel might wait for the proxy resolution to be completed.

I think maybe we should use native DNS resolver for the DNS requests coming from PAC script.
FWIW, I can also see DNS resolution failed without using `TRRServiceChannel`.

I think this is some kind of a dead lock problem.
1.  In PAC script, `dnsResolve()` is called. Note that at this moment, proxy resolution is not done.
2. We create a TRRServiceChannel (or nsHttpChannel) to do TRR.
3. The channel needs to do proxy resolution again.
4. I am not sure what happens here, but the new channel might wait for the proxy resolution to be completed.

I think maybe we should use native DNS resolver for the DNS requests coming from PAC script.

Back to Bug 1640091 Comment 11