Hi,
 
    I am working on implementing a proxy as an extension to mozilla. I have a query regarding a chained proxy.
    I am using nsiSocketTransportService's "createTransport" method to make a connection with the server. After that I pass on the requests coming from the client to the server. This works fine if there is no proxy between my proxy and the server. But if there is another proxy in between, then I cannot access HTTPS sites. The reason is that, in such a scenario I will have to pass on the CONNECT request as well. Moreover, I will have to use the same connection for further HTTPS traffic. Unfortunately, there is no mechanism/API to "upgrade" a plain socket to SSL socket.
    Has anyone come across a similar problem? Any ideas on this?
 
Regards,
Umesh.

Reply via email to