clear environment after request end

This commit is contained in:
Stefan Bühler 2013-05-23 17:45:37 +02:00
parent dd80b79b8d
commit 76ac3d382d

View File

@ -801,6 +801,7 @@ void fastcgi_end_request(fastcgi_connection *fcon, gint32 appStatus, enum FCGI_P
if (0 == fcon->requestID) return;
stream_send_end_request(&fcon->write_queue, fcon->requestID, appStatus, status);
fcon->requestID = 0;
fastcgi_connection_environ_clear(fcon);
if (!had_data) write_queue(fcon);
}