diff options
author | Anatol Belski <ab@php.net> | 2014-09-29 17:27:24 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-09-29 17:27:24 +0200 |
commit | 46aa2c396bf32b81c76ed2330e8e116eef8886a8 (patch) | |
tree | d8521c50872582ce00081cf8640deb81cfcececd /main/streams/plain_wrapper.c | |
parent | 0c982798e01e5a48765aa5352f96066e77e36efd (diff) | |
download | php-git-46aa2c396bf32b81c76ed2330e8e116eef8886a8.tar.gz |
increase the polling period to not to break existing behaviours
Diffstat (limited to 'main/streams/plain_wrapper.c')
-rw-r--r-- | main/streams/plain_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 20ec7c2423..4b5dc55276 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -367,7 +367,7 @@ static size_t php_stdiop_read(php_stream *stream, char *buf, size_t count TSRMLS if (0 == avail_read) { usleep(100000); } - } while (0 == avail_read && retry++ < 180); + } while (0 == avail_read && retry++ < 320); /* Reduce the required data amount to what is available, otherwise read() will block.*/ |