Browse Source

limit the timeout of udprelay

pull/196/merge
Max Lv 10 years ago
parent
commit
ee8b55e2c8
1 changed files with 1 additions and 1 deletions
  1. 2
      src/udprelay.c

2
src/udprelay.c

@ -914,7 +914,7 @@ int init_udprelay(const char *server_host, const char *server_port,
setnonblocking(serverfd);
server_ctx = new_server_ctx(serverfd);
server_ctx->timeout = timeout;
server_ctx->timeout = min(timeout, 5);
server_ctx->method = method;
server_ctx->iface = iface;
server_ctx->conn_cache = conn_cache;

Loading…
Cancel
Save