- fix SEGV on un/serializing HttpRequests
[m6w6/ext-http] / php_http.h
index 104f9f7788b8bafce891f69efadca4cfffa9b5a7..59a2024471c4f5476f96b5569199f2dcb07325a0 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef PHP_EXT_HTTP_H
 #define PHP_EXT_HTTP_H
 
-#define PHP_EXT_HTTP_VERSION "1.3.1dev"
+#define PHP_EXT_HTTP_VERSION "1.4.0dev"
 
 #ifdef HAVE_CONFIG_H
 #      include "config.h"
@@ -102,6 +102,7 @@ ZEND_BEGIN_MODULE_GLOBALS(http)
                char *unquoted_etag;
                time_t last_modified;
                struct _http_globals_send_deflate {
+                       zend_bool response;
                        zend_bool start_auto;
                        long start_flags;
                        int encoding;
@@ -143,6 +144,7 @@ ZEND_BEGIN_MODULE_GLOBALS(http)
 
        zend_bool force_exit;
        zend_bool read_post_data;
+       zval *server_var;
 
 ZEND_END_MODULE_GLOBALS(http)
 
@@ -171,7 +173,6 @@ ZEND_EXTERN_MODULE_GLOBALS(http);
 #      define HTTP_HAVE_SPL
 #endif
 
-PHP_FUNCTION(http_test);
 PHP_FUNCTION(http_date);
 PHP_FUNCTION(http_build_url);
 PHP_FUNCTION(http_build_str);