/[Apache-SVN]/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
ViewVC logotype

Diff of /httpd/httpd/trunk/modules/proxy/mod_proxy_http.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1599486 by ylavic, Tue Jun 3 11:47:11 2014 UTC revision 1610674 by jorton, Tue Jul 15 12:27:00 2014 UTC
# Line 1356  int ap_proxy_http_process_response(apr_p Line 1356  int ap_proxy_http_process_response(apr_p
1356           */           */
1357          if (apr_date_checkmask(buffer, "HTTP/#.# ###*")) {          if (apr_date_checkmask(buffer, "HTTP/#.# ###*")) {
1358              int major, minor;              int major, minor;
1359                int toclose;
1360    
1361              major = buffer[5] - '0';              major = buffer[5] - '0';
1362              minor = buffer[7] - '0';              minor = buffer[7] - '0';
# Line 1466  int ap_proxy_http_process_response(apr_p Line 1467  int ap_proxy_http_process_response(apr_p
1467              te = apr_table_get(r->headers_out, "Transfer-Encoding");              te = apr_table_get(r->headers_out, "Transfer-Encoding");
1468    
1469              /* strip connection listed hop-by-hop headers from response */              /* strip connection listed hop-by-hop headers from response */
1470              backend->close = ap_proxy_clear_connection_fn(r, r->headers_out);              toclose = ap_proxy_clear_connection_fn(r, r->headers_out);
1471                backend->close = (toclose != 0);
1472                if (toclose < 0) {
1473                    return ap_proxyerror(r, HTTP_BAD_REQUEST,
1474                            "Malformed connection header");
1475                }
1476    
1477              if ((buf = apr_table_get(r->headers_out, "Content-Type"))) {              if ((buf = apr_table_get(r->headers_out, "Content-Type"))) {
1478                  ap_set_content_type(r, apr_pstrdup(p, buf));                  ap_set_content_type(r, apr_pstrdup(p, buf));

Legend:
Removed from v.1599486  
changed lines
  Added in v.1610674

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26