]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* r->connection->aborted signals that the client aborted the connection, but
authorRuediger Pluem <rpluem@apache.org>
Sat, 25 Apr 2009 09:25:24 +0000 (09:25 +0000)
committerRuediger Pluem <rpluem@apache.org>
Sat, 25 Apr 2009 09:25:24 +0000 (09:25 +0000)
  in this case *we* decide to close the connection so use
  r->connection->keepalive = AP_CONN_CLOSE

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@768500 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_kernel.c

index 137336501211aa30556d15c3b7a289edba1e1a3c..e2ab5ff93638edb41372ede8d61e5ca6daf39d4d 100644 (file)
@@ -734,7 +734,7 @@ int ssl_hook_Access(request_rec *r)
                 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 @@ int ssl_hook_Access(request_rec *r)
                               "Re-negotiation handshake failed: "
                               "Not accepted by client!?");
 
-                r->connection->aborted = 1;
+                r->connection->keepalive = AP_CONN_CLOSE;
                 return HTTP_FORBIDDEN;
             }
         }