X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http.c;h=41456dc3f8f7ac7d5462f7963c4aab0160f0761d;hb=c7a5f1c64f8d4597fabf313c4597736836239815;hp=4c285ef23c8872f2f9c3af4650e11b7a2387a072;hpb=d046681a7b929ef813849cfe38fbceb333f0b0eb;p=m6w6%2Fext-http diff --git a/http.c b/http.c index 4c285ef..41456dc 100644 --- a/http.c +++ b/http.c @@ -39,6 +39,7 @@ # include "php_http_filter_api.h" # include "php_http_util_object.h" # include "php_http_message_object.h" +# include "php_http_querystring_object.h" # ifndef WONKY # include "php_http_response_object.h" # endif @@ -170,6 +171,7 @@ static inline void _http_globals_init(zend_http_globals *G TSRMLS_DC) #ifndef HTTP_HAVE_SAPI_RTIME G->request_time = time(NULL); #endif + G->read_post_data = 0; } #define http_globals_free(g) _http_globals_free((g) TSRMLS_CC) @@ -251,6 +253,7 @@ PHP_MINIT_FUNCTION(http) if ( (SUCCESS != PHP_MINIT_CALL(http_filter)) || (SUCCESS != PHP_MINIT_CALL(http_util_object)) || (SUCCESS != PHP_MINIT_CALL(http_message_object)) || + (SUCCESS != PHP_MINIT_CALL(http_querystring_object))|| # ifndef WONKY (SUCCESS != PHP_MINIT_CALL(http_response_object)) || # endif /* WONKY */