You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2009/04/25 11:25:37 UTC

svn commit: r768500 - /httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c

Author: rpluem
Date: Sat Apr 25 09:25:24 2009
New Revision: 768500

URL: http://svn.apache.org/viewvc?rev=768500&view=rev
Log:
* r->connection->aborted signals that the client aborted the connection, but
  in this case *we* decide to close the connection so use
  r->connection->keepalive = AP_CONN_CLOSE

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c?rev=768500&r1=768499&r2=768500&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c Sat Apr 25 09:25:24 2009
@@ -734,7 +734,7 @@
                 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
                               "Re-negotiation request failed");
 
-                r->connection->aborted = 1;
+                r->connection->keepalive = AP_CONN_CLOSE;
                 return HTTP_FORBIDDEN;
             }
 
@@ -753,7 +753,7 @@
                               "Re-negotiation handshake failed: "
                               "Not accepted by client!?");
 
-                r->connection->aborted = 1;
+                r->connection->keepalive = AP_CONN_CLOSE;
                 return HTTP_FORBIDDEN;
             }
         }