diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c index 77a0cacc198..f4c2e172f9e 100644 --- a/phpdbg_cmd.c +++ b/phpdbg_cmd.c @@ -862,7 +862,8 @@ readline: } } len += bytes; - } while ((bytes = phpdbg_mixed_read(PHPDBG_G(io)[PHPDBG_STDIN].fd, buf + len, PHPDBG_MAX_CMD - len, 10000)) > 0 || (errno == EINTR && bytes < 0)); + /* XXX export the timeout through INI??*/ + } while ((bytes = phpdbg_mixed_read(PHPDBG_G(io)[PHPDBG_STDIN].fd, buf + len, PHPDBG_MAX_CMD - len, 30000)) > 0 || (errno == EINTR && bytes < 0)); if (bytes <= 0) { goto disconnect;