I would like to create an nsISocketTransport with an HTTP proxy. The documentation says nsISocketTransportService supports only SOCKS proxies, because they are transparent to upper protocols. I tried to use the method NewChannelFromURIWithProxyFlags in nsIIOService2 to create proxied nsIHttpChannel. However, http channels do not allow writing to and reading from the underlying socket upon proxy connect. They send an http request instead. Is there any other way to establish a (secure) tcp connection over http proxy?
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to