- release 1.2.0
[m6w6/ext-http] / http_send_api.c
index 10bcdc0ba3b83db4233b390f37166b4513dcc69b..ebecb33e94fa482ee448b903e01e911cb8c7ff57 100644 (file)
@@ -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)