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