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:
David Andrews
2014-03-03 14:17:00 -08:00
committed by Felipe Zimmerle
parent 27dd513ab6
commit dda91f1689
4 changed files with 19 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ void modsecInitProcess();
conn_rec *modsecNewConnection();
void modsecProcessConnection(conn_rec *c);
int modsecFinishConnection(conn_rec *c);
request_rec *modsecNewRequest(conn_rec *connection, directory_config *config);