0
0
mirror of https://github.com/hufrea/byedpi.git synced 2025-08-22 11:18:39 +00:00

Set POLLRDHUP for TCP socket with UDP pair

#306
This commit is contained in:
ruti 2025-07-04 22:18:24 +03:00
parent ed76be1dad
commit 45d8c7ec7a

View File

@ -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;
}