]> granicus.if.org Git - php/commitdiff
increase the polling period to not to break existing behaviours
authorAnatol Belski <ab@php.net>
Mon, 29 Sep 2014 15:27:24 +0000 (17:27 +0200)
committerAnatol Belski <ab@php.net>
Mon, 29 Sep 2014 15:27:24 +0000 (17:27 +0200)
main/streams/plain_wrapper.c

index 20ec7c2423cce54a895007253e523f1da5f1d44c..4b5dc55276f470c4dce6718794e40f1ddff4055a 100644 (file)
@@ -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.*/