- disallow detaching requests while executing progress callbacks
[m6w6/ext-http] / php_http_api.h
index 325378c4d0ec3d2e167d6efaafa8c36ccc196ca4..9e5c389da97df25377b60c4849acc2f098ab0ed0 100644 (file)
@@ -54,9 +54,7 @@ extern zval *_http_exception_wrap(zval *old_exception, zval *new_exception, zend
 }
 #define http_final(ex_ce) \
        if (EG(exception)) { \
-               zval *exception = http_exception_wrap(EG(exception), NULL, ex_ce); \
-               EG(exception) = NULL; \
-               zend_throw_exception_object(exception TSRMLS_CC); \
+               EG(exception) = http_exception_wrap(EG(exception), NULL, ex_ce); \
        }
 #endif /* ZEND_ENGINE_2 */