Menu

#84 Proxy support

0.2.9
open
nobody
J2SSH (50)
5
2013-12-13
2010-07-28
No

In file HttpProxySocketProvider line 120 the header doesnt look like a valid RFC2817 header.

request.setHeaderBegin("CONNECT " + protocol + host + ":" + port + " HTTP/1.0");

Normally it should be
CONNECT server.example.com:80 HTTP/1.1

The protocol in the header seems to be incorrect to me.

Discussion

  • Sascha Hunold

    Sascha Hunold - 2013-12-13
    • Group: --> 0.2.9
     
  • Sascha Hunold

    Sascha Hunold - 2013-12-13

    You are right. I won't change it since I cannot/will not test it.
    Working patches are welcome.

     

Log in to post a comment.