|
Line
Link Here
|
| 0 |
-- httpd-2.0.52/modules/proxy/proxy_http.c.can2088 |
0 |
++ httpd-2.0.52/modules/proxy/proxy_http.c |
|
Lines 390-395
Link Here
|
| 390 |
int counter, seen_eos; |
390 |
int counter, seen_eos; |
| 391 |
apr_status_t status; |
391 |
apr_status_t status; |
| 392 |
|
392 |
|
|
|
393 |
if (apr_table_get(r->headers_in, "Transfer-Encoding")) { |
| 394 |
/* Reject chunked requests. */ |
| 395 |
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, |
| 396 |
"proxy_http: chunked requests not supported"); |
| 397 |
return HTTP_LENGTH_REQUIRED; |
| 398 |
} |
| 399 |
|
| 393 |
/* |
400 |
/* |
| 394 |
* Send the HTTP/1.1 request to the remote server |
401 |
* Send the HTTP/1.1 request to the remote server |
| 395 |
*/ |
402 |
*/ |
| 396 |
-- httpd-2.0.52/server/protocol.c.can2088 |
403 |
++ httpd-2.0.52/server/protocol.c |
|
Lines 962-967
Link Here
|
| 962 |
ap_run_log_transaction(r); |
962 |
ap_run_log_transaction(r); |
| 963 |
return r; |
963 |
return r; |
| 964 |
} |
964 |
} |
|
|
965 |
|
| 966 |
if (apr_table_get(r->headers_in, "Transfer-Encoding") |
| 967 |
&& apr_table_get(r->headers_in, "Content-Length")) { |
| 968 |
/* 2616 section 4.4, point 3: "if both Transfer-Encoding |
| 969 |
* and Content-Length are received, the latter MUST be |
| 970 |
* ignored"; so unset it here to prevent any confusion |
| 971 |
* later. */ |
| 972 |
apr_table_unset(r->headers_in, "Content-Length"); |
| 973 |
} |
| 965 |
} |
974 |
} |
| 966 |
|
975 |
|
| 967 |
ap_add_input_filter_handle(ap_http_input_filter_handle, |
976 |
ap_add_input_filter_handle(ap_http_input_filter_handle, |