- fix request pool issues
[m6w6/ext-http] / http.c
diff --git a/http.c b/http.c
index 722c2285a65475975e5218eff4e68537d7fdbe0f..9371e19a41c059b8e15be271e34f1de52bde9085 100644 (file)
--- a/http.c
+++ b/http.c
@@ -185,6 +185,10 @@ PHP_MINIT_FUNCTION(http)
 {
        http_module_number = module_number;
 
+#ifdef ZTS
+       ZEND_INIT_MODULE_GLOBALS(http, NULL, NULL)
+#endif
+
        REGISTER_INI_ENTRIES();
 
 #ifdef HTTP_HAVE_CURL