clear environment after request end
This commit is contained in:
parent
dd80b79b8d
commit
76ac3d382d
@ -801,6 +801,7 @@ void fastcgi_end_request(fastcgi_connection *fcon, gint32 appStatus, enum FCGI_P
|
|||||||
if (0 == fcon->requestID) return;
|
if (0 == fcon->requestID) return;
|
||||||
stream_send_end_request(&fcon->write_queue, fcon->requestID, appStatus, status);
|
stream_send_end_request(&fcon->write_queue, fcon->requestID, appStatus, status);
|
||||||
fcon->requestID = 0;
|
fcon->requestID = 0;
|
||||||
|
fastcgi_connection_environ_clear(fcon);
|
||||||
if (!had_data) write_queue(fcon);
|
if (!had_data) write_queue(fcon);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user