From 45d8c7ec7a8d87fbc8e2806adcfa523aa2632747 Mon Sep 17 00:00:00 2001 From: ruti <> Date: Fri, 4 Jul 2025 22:18:24 +0300 Subject: [PATCH] Set POLLRDHUP for TCP socket with UDP pair #306 --- proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy.c b/proxy.c index cc55526..fbbe58e 100644 --- a/proxy.c +++ b/proxy.c @@ -546,7 +546,7 @@ static int udp_associate(struct poolhd *pool, uniperror("send"); return -1; } - if (mod_etype(pool, val, 0)) { + if (mod_etype(pool, val, POLLRDHUP)) { uniperror("mod_etype"); return -1; }