mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* 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 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@768500 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -734,7 +734,7 @@ int ssl_hook_Access(request_rec *r)
|
|||||||
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
|
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
|
||||||
"Re-negotiation request failed");
|
"Re-negotiation request failed");
|
||||||
|
|
||||||
r->connection->aborted = 1;
|
r->connection->keepalive = AP_CONN_CLOSE;
|
||||||
return HTTP_FORBIDDEN;
|
return HTTP_FORBIDDEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -753,7 +753,7 @@ int ssl_hook_Access(request_rec *r)
|
|||||||
"Re-negotiation handshake failed: "
|
"Re-negotiation handshake failed: "
|
||||||
"Not accepted by client!?");
|
"Not accepted by client!?");
|
||||||
|
|
||||||
r->connection->aborted = 1;
|
r->connection->keepalive = AP_CONN_CLOSE;
|
||||||
return HTTP_FORBIDDEN;
|
return HTTP_FORBIDDEN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user