php - mod_security and "connection: close" -
we have application needs close connection , redirect page. works fine following code:
header("connection: close\r\n"); header("content-encoding: none\r\n"); ignore_user_abort(true); ob_start(); $size = ob_get_length(); //redirect header("location: $domain", true, 303); header("content-length: $size"); ob_end_flush(); flush();
we use mod_security on server, once activated not close connection anymore. audit log not contain entry.
disabling mod_security or setting secresponsebodyaccess
off
re-enable functionality.
is there option mod_security or php-way leave secresponsebodyaccess
on , still able close connection?
Comments
Post a Comment