提交 49169367 编写于 作者: E Eduardo Otubo 提交者: Daniel Veillard

phyp: too much timeout when polling socket

* src/phyp/phyp_driver.c: a 10s timeout on socket availability was way
  too long, reduced to 1ms
上级 75825e45
......@@ -2174,8 +2174,8 @@ waitsocket(int socket_fd, LIBSSH2_SESSION * session)
fd_set *readfd = NULL;
int dir;
timeout.tv_sec = 10;
timeout.tv_usec = 0;
timeout.tv_sec = 0;
timeout.tv_usec = 1000;
FD_ZERO(&fd);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册