mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 13:58:58 -04:00
from trunk: do not remove accept-encoding header in make request
svn:r939
This commit is contained in:
parent
48c6e51db2
commit
69119a402e
@ -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
3
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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user