From a8cd11f90f56482051049a5ef5941dbeb8f55175 Mon Sep 17 00:00:00 2001 From: Kirill Rodriguez Date: Tue, 29 Oct 2024 11:18:48 +0000 Subject: [PATCH] remove proxy-connection from http-connect --- sample/http-connect.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sample/http-connect.c b/sample/http-connect.c index 53f816d3..3bb0d816 100644 --- a/sample/http-connect.c +++ b/sample/http-connect.c @@ -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);