mirror of
https://github.com/php/php-src.git
synced 2026-03-31 04:32:19 +02:00
increase default recv timeout to 30 seconds
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user