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
@@ -67,6 +67,10 @@ class REQUEST_STORED_CONTEXT : public IHttpStoredContext
|
||||
{
|
||||
modsecFinishRequest(m_pRequestRec);
|
||||
m_pRequestRec = NULL;
|
||||
}
|
||||
if(m_pConnRec != NULL)
|
||||
{
|
||||
modsecFinishConnection(m_pConnRec);
|
||||
m_pConnRec = NULL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user