projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
better PHP-5.3 compatibility
[m6w6/ext-http]
/
php_http_env_response.c
diff --git
a/php_http_env_response.c
b/php_http_env_response.c
index c3cf80b891a4bd7a6fd37144e7f04863ad0192b1..d88fb72841386e6eec7372ace3c1783f62fd3ea6 100644
(file)
--- a/
php_http_env_response.c
+++ b/
php_http_env_response.c
@@
-189,6
+189,9
@@
static size_t output(void *context, char *buf, size_t len TSRMLS_DC)
if (!(php_output_get_status(TSRMLS_C) & PHP_OUTPUT_IMPLICITFLUSH)) {
sapi_flush(TSRMLS_C);
}
+#else
+ php_end_ob_buffer(1, 1 TSRMLS_CC);
+ sapi_flush(TSRMLS_C);
#endif
php_http_sleep(r->throttle.delay);
}