I have made a couple of minor changes to the Relay class and would
appreciate some comments.

The problem is that the Host HTTP header parameter is incorrect when using
HTTP 1.1 web servers.  The server requires that the parameter be looking for
the specific website server name (ie http://www.google.com) and not
localhost:port.

The changes are in the relay.java and tcpTunnelGui.java (attached).  The
change is mainly in the run() method, but there are a couple of other minor
changes in both files to allow for passing of the remote hostname to the
Relay object.

Paul

Attachment: Relay.java
Description: Binary data

Attachment: TcpTunnelGui.java
Description: Binary data

Reply via email to