X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_send_api.c;h=ebecb33e94fa482ee448b903e01e911cb8c7ff57;hb=6aca56d611a22eb559098f3c02c31634a6f9ff9f;hp=10bcdc0ba3b83db4233b390f37166b4513dcc69b;hpb=c5daa65dcad8fd0a916038c7567f610ea34c6315;p=m6w6%2Fext-http 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)