X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=php_http.c;h=5ee038d392cd938870f4d61fc3fc0a3c20c53161;hb=dedd682f1f67f8af921c87653c58863f355ead43;hp=4efec72d613f6667c0594411aa6204028e3a8009;hpb=c1231f62c6f4ae58cc63bc3724f99d5fb207b83a;p=m6w6%2Fext-http diff --git a/php_http.c b/php_http.c index 4efec72..5ee038d 100644 --- a/php_http.c +++ b/php_http.c @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2013, Michael Wallner | + | Copyright (c) 2004-2014, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -20,7 +20,12 @@ #if PHP_HTTP_HAVE_CURL # include # if PHP_HTTP_HAVE_EVENT -# include +# if PHP_HTTP_HAVE_EVENT2 +# include +# include +# else +# include +# endif # endif #endif #if PHP_HTTP_HAVE_SERF @@ -55,9 +60,6 @@ static zend_module_dep http_module_deps[] = { #endif #ifdef PHP_HTTP_HAVE_JSON ZEND_MOD_REQUIRED("json") -#endif -#ifdef PHP_HTTP_HAVE_EVENT - ZEND_MOD_CONFLICTS("event") #endif {NULL, NULL, NULL, 0} }; @@ -140,6 +142,7 @@ PHP_MINIT_FUNCTION(http) || SUCCESS != PHP_MINIT_CALL(http_filter) || SUCCESS != PHP_MINIT_CALL(http_header) || SUCCESS != PHP_MINIT_CALL(http_message) + || SUCCESS != PHP_MINIT_CALL(http_message_parser) || SUCCESS != PHP_MINIT_CALL(http_message_body) || SUCCESS != PHP_MINIT_CALL(http_querystring) || SUCCESS != PHP_MINIT_CALL(http_client)