mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Standalone: independently destroy the connection and request pools
Add independent modsecFinishConnection API that allows you to independently destroy the connection and request pools. This is to facilitate reuse of a connection for multiple requests.
This commit is contained in:
committed by
Felipe Zimmerle
parent
27dd513ab6
commit
dda91f1689
@@ -1356,6 +1356,10 @@ ngx_http_modsecurity_cleanup(void *data)
|
||||
if (ctx->req != NULL) {
|
||||
(void) modsecFinishRequest(ctx->req);
|
||||
}
|
||||
if (ctx->connection != NULL) {
|
||||
(void) modsecFinishConnection(ctx->connection);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static char *
|
||||
|
Reference in New Issue
Block a user