diff --git a/ChangeLog b/ChangeLog index 57234596..c5921393 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ Changes in 1.4.8-stable: o Match the query in DNS replies to the query in the request; from Vsevolod Stakhov. o Fix a merge problem in which name_from_addr returned pointers to the stack; found by Jiang Hong. + o Do not remove Accept-Encoding header Changes in 1.4.7-stable: o Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me. diff --git a/http.c b/http.c index daa59c1e..1d60fc50 100644 --- a/http.c +++ b/http.c @@ -368,7 +368,7 @@ evhttp_connected(struct evhttp_connection *evcon) } /* - * Create the headers need for an HTTP request + * Create the headers needed for an HTTP request */ static void evhttp_make_header_request(struct evhttp_connection *evcon, @@ -377,7 +377,6 @@ evhttp_make_header_request(struct evhttp_connection *evcon, char line[1024]; const char *method; - evhttp_remove_header(req->output_headers, "Accept-Encoding"); evhttp_remove_header(req->output_headers, "Proxy-Connection"); /* Generate request line */