Author demian.brecht
Recipients demian.brecht
Date 2014-07-28.18:09:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Creating this bug for clarity, but was encountered while investigating 22041 (now set as not a bug).

When using set_tunnel with default port, the port value in the host header is set to "None":

"send: b'POST [PATH] HTTP/1.1\r\nHost: [HOST]:None\r\nAccept-Encoding: identity\r\nContent-Length: 41\r\nAccept: text/plain\r\nContent-type: application/x-www-form-urlencoded\r\n\r\n[FORM_DATA]'"

This issue seems to have been introduced in 3.4 when _tunnel_host and _tunnel_port were introduced to decouple the destination host and port from the proxy host and port.
Date User Action Args
2014-07-28 18:09:44demian.brechtsetrecipients: + demian.brecht
2014-07-28 18:09:43demian.brechtsetmessageid: <>
2014-07-28 18:09:43demian.brechtlinkissue22095 messages
2014-07-28 18:09:43demian.brechtcreate