mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-05 21:04:01 +00:00
Increase CLI command output timeout for asterisk -rx to 60 seconds.
(closes issue #17049) Reported by: russell Tested by: russell Review: https://reviewboard.asterisk.org/r/573/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2656,7 +2656,7 @@ static void ast_remotecontrol(char *data)
|
||||
fds.fd = ast_consock;
|
||||
fds.events = POLLIN;
|
||||
fds.revents = 0;
|
||||
while (ast_poll(&fds, 1, 500) > 0) {
|
||||
while (ast_poll(&fds, 1, 60000) > 0) {
|
||||
char buffer[512] = "", *curline = buffer, *nextline;
|
||||
int not_written = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user