| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Libevent
Revision: 938
Author: nprovos
Date: 07 Sep 2008 19:24:54
Changes:do not remove accept-encoding header in make request
Files:| ... | ...@@ -124,7 +124,8 @@ | |
| 124 | 124 | o Fix a bug where headers arriving in multiple packets were not parsed; fix from Jiang Hong; test by me. |
| 125 | 125 | o Match the query in DNS replies to the query in the request; from Vsevolod Stakhov. |
| 126 | 126 | o Add new utility functions to correctly observe and log winsock errors. |
| 127 | ||
| 127 | o Do not remove Accept-Encoding header | |
| 128 | ||
| 128 | 129 | Changes in 1.4.0: |
| 129 | 130 | o allow \r or \n individually to separate HTTP headers instead of the standard "\r\n"; from Charles Kerr. |
| 130 | 131 | o demote most http warnings to debug messages |
| ... | ...@@ -388,7 +388,7 @@ | |
| 388 | 388 | } |
| 389 | 389 | |
| 390 | 390 | /* |
| 391 | * Create the headers need for an HTTP request | |
| 391 | * Create the headers needed for an HTTP request | |
| 392 | 392 | */ |
| 393 | 393 | static void |
| 394 | 394 | evhttp_make_header_request(struct evhttp_connection *evcon, |
| ... | ...@@ -396,7 +396,6 @@ | |
| 396 | 396 | { |
| 397 | 397 | const char *method; |
| 398 | 398 | |
| 399 | evhttp_remove_header(req->output_headers, "Accept-Encoding"); | |
| 400 | 399 | evhttp_remove_header(req->output_headers, "Proxy-Connection"); |
| 401 | 400 | |
| 402 | 401 | /* Generate request line */ |