[Mono-dev] HttpListener https bug?

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Thu Sep 9 17:53:30 EDT 2010


On Wed, 2010-09-08 at 18:10 -0700, salar2k wrote:
> Guess it doesn't needed because the issue occurs even with your peace of
> program.
> 
> And yes i'm working on kind of proxy software. (is that important?)

Yes. The way the browser tries to set up a https connection through the
proxy is by using the CONNECT method over an unencrypted connection that
is later turned into an encrypted one (tunneled through the proxy).
HttpListener is expecting a TLS connection and the browser is sending
plain text data... That's why the connection is being reset.

You would need to listen with http://*:9667/ and then handle the CONNECT
method appropriately.

-Gonzalo




More information about the Mono-devel-list mailing list