mirror of
https://github.com/lxsang/antd-tunnel-plugin
synced 2025-04-05 08:06:44 +02:00
increase waiting timeout
This commit is contained in:
parent
656ac4c309
commit
39b3461f97
BIN
dist/tunnel-0.1.0b.tar.gz
vendored
BIN
dist/tunnel-0.1.0b.tar.gz
vendored
Binary file not shown.
2
tunnel.c
2
tunnel.c
@ -618,7 +618,7 @@ static void* multiplex(void* data_p)
|
|||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
timeout.tv_sec = 0;
|
timeout.tv_sec = 0;
|
||||||
timeout.tv_usec = 500; // 5 ms
|
timeout.tv_usec = 10000; // 10 ms
|
||||||
select(0, NULL, NULL, NULL, &timeout);
|
select(0, NULL, NULL, NULL, &timeout);
|
||||||
break;
|
break;
|
||||||
// we have data
|
// we have data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user