From e614b24dae80f8cb2da76b505e461d30e6dcc0b7 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Fri, 3 Dec 2010 16:56:57 +0000 Subject: [PATCH] Reverted r1040177 due to Joe's objection. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1041905 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_protocol.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 53ed6a0317..eb1789fe15 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -204,12 +204,7 @@ AP_DECLARE(int) ap_set_keepalive(request_rec *r) * THEN we can be persistent, which requires more headers be output. * * Note that the condition evaluation order is extremely important. - * - * Silent compiler warnings for (r->chunked = 1) with #pragma */ -#ifdef __WATCOMC__ -#pragma disable_message(105) -#endif if ((r->connection->keepalive != AP_CONN_CLOSE) && !r->expecting_100 && ((r->status == HTTP_NOT_MODIFIED) @@ -234,9 +229,6 @@ AP_DECLARE(int) ap_set_keepalive(request_rec *r) && ((ka_sent = ap_find_token(r->pool, conn, "keep-alive")) || (r->proto_num >= HTTP_VERSION(1,1))) && is_mpm_running()) { -#ifdef __WATCOMC__ -#pragma enable_message(105) -#endif r->connection->keepalive = AP_CONN_KEEPALIVE; r->connection->keepalives++; -- 2.40.0