fix for changed shutdown order in PHP-7.4
[m6w6/ext-http] / src / php_http_client.h
index 08743e69ebbaa9188d7a64da3c888bb1b217aa55..fd77204fc6a53b772931b7ec36931f8486c20835 100644 (file)
@@ -35,6 +35,7 @@ typedef struct php_http_client_enqueue {
                zend_fcall_info fci;
                zend_fcall_info_cache fcc;
        } closure;
+       php_http_message_object_t *request_obj; /* supplemental to request */
 } php_http_client_enqueue_t;
 
 typedef struct php_http_client *(*php_http_client_init_func_t)(struct php_http_client *p, void *init_arg);
@@ -117,6 +118,7 @@ typedef struct php_http_client {
                        php_http_client_debug_callback_t func;
                        void *arg;
                } debug;
+               unsigned depth;
        } callback;
 
        zend_llist requests;