Maya wrote:
I have a custom handler class HttpxHandler. At the startup, I replace the HttpsHandler with this custom handler and pass the original HttpsHandler to it.
So you replace the protocol handler? Ok.
The NewProxiedChannel(..) method encrypts the request and returns an instance of the custom channel class HttpxChannel.
OK.... So you're overriding NewProxiedChannel but not NewChannel? Or are you also overriding NewChannel?
As you can see here, the encryption happens when a new channel is opened.
OK.
For some reason, my understanding was that a channel really corresponds to a request.
It does.
So for every request, there will be a new channel
That's correct. There will be. -Boris _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
