from trunk: do not remove accept-encoding header in make request

svn:r939
This commit is contained in:
Niels Provos 2008-09-07 23:26:47 +00:00
parent 48c6e51db2
commit 69119a402e
2 changed files with 2 additions and 2 deletions

View File

@ -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.

3
http.c
View File

@ -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 */