- added INI setting http.force_exit which can be used to disable script termination
[m6w6/ext-http] / php_http.h
index 2d436076c330055204d6aba5817330cd3788871f..b62777ee4f93552c0d2d4c443f1e1270bbd85f54 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef PHP_EXT_HTTP_H
 #define PHP_EXT_HTTP_H
 
-#define HTTP_PEXT_VERSION "0.17.0"
+#define HTTP_PEXT_VERSION "0.18.0dev"
 
 /* make compile on Win32 */
 #ifdef HTTP_HAVE_CURL
@@ -34,9 +34,6 @@ extern int http_module_number;
 
 ZEND_BEGIN_MODULE_GLOBALS(http)
 
-#ifdef ZEND_ENGINE_2
-       zend_bool only_exceptions;
-#endif
        struct _http_globals_etag {
                long mode;
                void *ctx;
@@ -78,6 +75,12 @@ ZEND_BEGIN_MODULE_GLOBALS(http)
 #endif /* HTTP_HAVE_CURL */
        } request;
 
+#ifdef ZEND_ENGINE_2
+       zend_bool only_exceptions;
+#endif
+
+       zend_bool force_exit;
+
 ZEND_END_MODULE_GLOBALS(http)
 
 #ifdef ZTS