X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_response_object.c;h=9ef4fc93f32773be4ad76c87e59605398f33084c;hb=4b22542b552ee0a6c999e19868edbc3b1096df02;hp=e60b555b78818a20489507c8fb828d5a633897f2;hpb=fe1756974358a47c3295429657a0ff3121df32ef;p=m6w6%2Fext-http diff --git a/http_response_object.c b/http_response_object.c index e60b555..9ef4fc9 100644 --- a/http_response_object.c +++ b/http_response_object.c @@ -220,11 +220,11 @@ static inline void _http_response_object_declare_default_properties(TSRMLS_D) DCL_STATIC_PROP(PRIVATE, bool, sent, 0); DCL_STATIC_PROP(PRIVATE, bool, catch, 0); DCL_STATIC_PROP(PRIVATE, long, mode, -1); + DCL_STATIC_PROP(PRIVATE, long, stream, 0); + DCL_STATIC_PROP_N(PRIVATE, file); + DCL_STATIC_PROP_N(PRIVATE, data); DCL_STATIC_PROP(PROTECTED, bool, cache, 0); DCL_STATIC_PROP(PROTECTED, bool, gzip, 0); - DCL_STATIC_PROP(PROTECTED, long, stream, 0); - DCL_STATIC_PROP_N(PROTECTED, file); - DCL_STATIC_PROP_N(PROTECTED, data); DCL_STATIC_PROP_N(PROTECTED, eTag); DCL_STATIC_PROP(PROTECTED, long, lastModified, 0); DCL_STATIC_PROP_N(PROTECTED, cacheControl); @@ -232,7 +232,6 @@ static inline void _http_response_object_declare_default_properties(TSRMLS_D) DCL_STATIC_PROP_N(PROTECTED, contentDisposition); DCL_STATIC_PROP(PROTECTED, long, bufferSize, HTTP_SENDBUF_SIZE); DCL_STATIC_PROP(PROTECTED, double, throttleDelay, 0.0); - DCL_STATIC_PROP_N(PROTECTED, headers); } static void _http_grab_response_headers(void *data, void *arg TSRMLS_DC)