Browse Source

Merge branch 'PHP-5.6'

* PHP-5.6:
  increase the polling period to not to break existing behaviours
pull/862/merge
Anatol Belski 11 years ago
parent
commit
b428dc761d
  1. 2
      main/streams/plain_wrapper.c

2
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.*/

Loading…
Cancel
Save