owasp-modsecurity / ModSecurity-nginx

ModSecurity v3 Nginx Connector
Apache License 2.0
1.49k stars 277 forks source link

terminated for status 101 (like websocket) #276

Open liudongmiao opened 2 years ago

liudongmiao commented 2 years ago

If server responsed 101, it will switch to other tcp protocol. There is no http request / response any more.

This patch will free transaction when received status 101. Nginx will free the ctx when connection terminates.