Bug 63562 - ab (ApacheBench) does not send CONNECT to proxy server for https URLs
Summary: ab (ApacheBench) does not send CONNECT to proxy server for https URLs
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: support (show other bugs)
Version: 2.4.39
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-12 11:07 UTC by mail
Modified: 2019-07-12 14:09 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mail 2019-07-12 11:07:35 UTC
Query an https URL with ab. Set a proxy with the -X parameter.
ab -X proxyhost:proxyport https://www.ietf.org/

Expected:
ab should send a "CONNECT www.ietf.org:443" request to the proxyhost.

Actual:
ab initiates a TLS handshake with the proxyhost and sends www.ietf.org as SNI hostname.

Result:
Squid responds with 400 Bad Request.