]> granicus.if.org Git - apache/commitdiff
Reverted r1040177 due to Joe's objection.
authorGuenter Knauf <fuankg@apache.org>
Fri, 3 Dec 2010 16:56:57 +0000 (16:56 +0000)
committerGuenter Knauf <fuankg@apache.org>
Fri, 3 Dec 2010 16:56:57 +0000 (16:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1041905 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_protocol.c

index 53ed6a031709f4e469a39e8b19703d8bff8e7e6d..eb1789fe1500209e896e63e88ee78a5a058e26a4 100644 (file)
@@ -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++;