0
0
mirror of https://github.com/hufrea/byedpi.git synced 2025-06-30 10:33:50 +00:00

Fix POLLRDHUP ignoring

#259
This commit is contained in:
ruti 2025-02-03 17:33:40 +03:00
parent 9346c48e48
commit 49c6ad83ec

View File

@ -919,7 +919,7 @@ int on_connect(struct poolhd *pool, struct eval *val, int et)
int on_ignore(struct poolhd *pool, struct eval *val, int etype)
{
return (etype & (POLLHUP | POLLERR)) ? -1 : 0;
return (etype & (POLLHUP | POLLERR | POLLRDHUP)) ? -1 : 0;
}