X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_send_api.c;h=ebecb33e94fa482ee448b903e01e911cb8c7ff57;hp=10bcdc0ba3b83db4233b390f37166b4513dcc69b;hb=8d1b5913ed5318d9ea4adba8bff3eee7ab782fc0;hpb=c5daa65dcad8fd0a916038c7567f610ea34c6315 diff --git a/http_send_api.c b/http_send_api.c index 10bcdc0..ebecb33 100644 --- a/http_send_api.c +++ b/http_send_api.c @@ -35,6 +35,10 @@ static inline void _http_flush(void *nothing, const char *data, size_t data_len php_end_ob_buffer(1, 1 TSRMLS_CC); sapi_flush(TSRMLS_C); +#if 0 + fprintf(stderr, "Flushing after writing %u bytes\n", (uint) data_len); +#endif + #define HTTP_MSEC(s) (s * 1000) #define HTTP_USEC(s) (HTTP_MSEC(s) * 1000) #define HTTP_NSEC(s) (HTTP_USEC(s) * 1000)