com php-src: increase the polling period to not to break existing behaviours: main/streams/plain_wrapper.c

From: Date: Mon, 29 Sep 2014 15:27:24 +0000
Subject: com php-src: increase the polling period to not to break existing behaviours: main/streams/plain_wrapper.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-82008@lists.php.net to get a copy of this message
Commit: 46aa2c396bf32b81c76ed2330e8e116eef8886a8 Author: Anatol Belski <ab@php.net> Mon, 29 Sep 2014 17:27:24 +0200 Parents: 0c982798e01e5a48765aa5352f96066e77e36efd Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=46aa2c396bf32b81c76ed2330e8e116eef8886a8 Log: increase the polling period to not to break existing behaviours Changed paths: M main/streams/plain_wrapper.c Diff: diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 20ec7c2..4b5dc55 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.*/

« previous php.cvs (#82008) next »