#endif
}
return is_fastcgi;
-@@ -249,12 +256,27 @@
+@@ -249,6 +256,16 @@
}
}
void fcgi_shutdown(void)
{
if (is_initialized) {
- zend_hash_destroy(&fcgi_mgmt_vars);
- }
- is_fastcgi = 0;
-+
-+ if (allowed_clients) {
-+ free(allowed_clients);
-+ allowed_clients = 0;
-+ }
- }
-
- #ifdef _WIN32
@@ -327,6 +349,41 @@
}
#endif