mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
remove proxy-connection from http-connect
This commit is contained in:
parent
939171dc4b
commit
a8cd11f90f
@ -116,7 +116,6 @@ int main(int argc, const char **argv)
|
||||
|
||||
uri_hostport(location, hostport);
|
||||
evhttp_add_header(req->output_headers, "Connection", "keep-alive");
|
||||
evhttp_add_header(req->output_headers, "Proxy-Connection", "keep-alive");
|
||||
evhttp_add_header(req->output_headers, "Host", hostport);
|
||||
evhttp_make_request(evcon, req, EVHTTP_REQ_CONNECT, hostport);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user