When using Firefox to the sockspy in proxy mode with tls sometimes an
attempt to access a new site send the request down the current socket
to the wrong host. This is likely a HTTP/1.1 pipelining issue.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
}
if {$method eq "CONNECT"} {
# We must send an HTTP response header to the client
- set s "HTTP/1.1 200 OK\nServer: SockSpy/$::state(version)\n"
+ set s "HTTP/1.0 200 OK\nServer: SockSpy/$::state(version)\n"
insertData meta $s
puts $fromSock $s
}