From 3fa63677501feaa721b31715a2abe000e54415be Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 14 Sep 2005 11:32:25 +0000 Subject: [PATCH] - no headers property anymore - need to make data, file and stream properties private, because we need to know the http_send_mode which can anly be set in methods automatically --- http_response_object.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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) -- 2.30.2