1
0
mirror of https://github.com/lxsang/antd-tunnel-plugin synced 2024-11-16 09:48:21 +01:00

fix incorrect poll timeout
All checks were successful
gitea-sync/antd-tunnel-plugin/pipeline/head This commit looks good

This commit is contained in:
DanyLE 2022-08-31 20:35:07 +02:00
parent 1cb8bfa32b
commit 8a4763117e

View File

@ -1102,7 +1102,7 @@ void *handle(void *rq_data)
timeout.tv_usec = PROCESS_TIMEOUT;
pfd.fd = client->sock;
pfd.events = POLLIN;
status = poll(&pfd, 1, PROCESS_TIMEOUT);
status = poll(&pfd, 1, PROCESS_TIMEOUT/ 1000);
switch (status)
{
case -1: