httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1041905 - /httpd/httpd/trunk/modules/http/http_protocol.c
Date Fri, 03 Dec 2010 16:56:57 GMT
Author: fuankg
Date: Fri Dec  3 16:56:57 2010
New Revision: 1041905

URL: http://svn.apache.org/viewvc?rev=1041905&view=rev
Log:
Reverted r1040177 due to Joe's objection.

Modified:
    httpd/httpd/trunk/modules/http/http_protocol.c

Modified: httpd/httpd/trunk/modules/http/http_protocol.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/http_protocol.c?rev=1041905&r1=1041904&r2=1041905&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/http_protocol.c (original)
+++ httpd/httpd/trunk/modules/http/http_protocol.c Fri Dec  3 16:56:57 2010
@@ -204,12 +204,7 @@ AP_DECLARE(int) ap_set_keepalive(request
      *   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
         && ((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++;



Mime
View raw message