HTTP HTTP GET HTTP CONNECT HTTP proxy proxytunnel # Server-side # this is returned first since we get no proxy-auth

400 Bad request

swsclose
# Client-side http proxy HTTP CONNECT with proxy returning just HTML and closing http://test.example --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -sS # Verify data after the test has been "shot" CONNECT test.example:80 HTTP/1.1 Host: test.example:80 User-Agent: curl/%VERSION Proxy-Connection: Keep-Alive 43 curl: (43) Invalid response header