X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_filter.c;h=dd4fa14d293871092eae5bc145b06edc19ec25fd;hp=4f348014f61e19f5ba30b5de0dfe7ec8ba16c015;hb=1090760c65b564b30c0e30598cd19a1238e683f6;hpb=a11c3299ca4d94c9f21266dbbddc19e20da19078 diff --git a/php_http_filter.c b/php_http_filter.c index 4f34801..dd4fa14 100644 --- a/php_http_filter.c +++ b/php_http_filter.c @@ -236,7 +236,7 @@ static PHP_HTTP_FILTER_FUNCTION(chunked_encode) } #if DBG_FILTER fprintf(stderr, "update: chunked (-> %zu) (w: %zu, r: %zu)\n", ptr->buflen, stream->writepos, stream->readpos); -#endif DBG_FILTER +#endif nxt = ptr->next; php_stream_bucket_unlink(ptr TSRMLS_CC); @@ -258,7 +258,7 @@ static PHP_HTTP_FILTER_FUNCTION(chunked_encode) if (PHP_HTTP_FILTER_IS_CLOSING(stream, flags)) { #if DBG_FILTER fprintf(stderr, "finish: chunked\n"); -#endif DBG_FILTER +#endif NEW_BUCKET("0" PHP_HTTP_CRLF PHP_HTTP_CRLF, lenof("0" PHP_HTTP_CRLF PHP_HTTP_CRLF)); } @@ -298,7 +298,7 @@ static PHP_HTTP_FILTER_FUNCTION(zlib) #if DBG_FILTER fprintf(stderr, "bucket: b=%p p=%p p=%p\n", ptr->brigade, ptr->prev, ptr->next); -#endif DBG_FILTER +#endif nxt = ptr->next; php_stream_bucket_unlink(ptr TSRMLS_CC); @@ -326,7 +326,7 @@ static PHP_HTTP_FILTER_FUNCTION(zlib) #if DBG_FILTER fprintf(stderr, "flush: deflate (-> %zu)\n", encoded_len); -#endif DBG_FILTER +#endif if (encoded) { if (encoded_len) { @@ -344,7 +344,7 @@ static PHP_HTTP_FILTER_FUNCTION(zlib) #if DBG_FILTER fprintf(stderr, "finish: deflate (-> %zu)\n", encoded_len); -#endif DBG_FILTER +#endif if (encoded) { if (encoded_len) {