From: Ilia Alshanetsky Date: Wed, 16 Jan 2008 15:50:53 +0000 (+0000) Subject: MFB: Fixed bug #42779 (Incorrect forcing from HTTP/1.0 request to HTTP/1.1 X-Git-Tag: RELEASE_2_0_0a1~875 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee3b0eefa64248e88bc653f9253d24938d1f3919;p=php MFB: Fixed bug #42779 (Incorrect forcing from HTTP/1.0 request to HTTP/1.1 response) --- diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index 65e4a450b6..171101250d 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -134,8 +134,6 @@ php_apache_sapi_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC) ctx->r->proto_num = 1000 + (sline[7]-'0'); if ((sline[7]-'0') == 0) { apr_table_set(ctx->r->subprocess_env, "force-response-1.0", "true"); - } else { - apr_table_set(ctx->r->subprocess_env, "force-response-1.1", "true"); } }