mirror of
https://github.com/hufrea/byedpi.git
synced 2025-06-30 10:33:50 +00:00
parent
9346c48e48
commit
49c6ad83ec
2
proxy.c
2
proxy.c
@ -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)
|
int on_ignore(struct poolhd *pool, struct eval *val, int etype)
|
||||||
{
|
{
|
||||||
return (etype & (POLLHUP | POLLERR)) ? -1 : 0;
|
return (etype & (POLLHUP | POLLERR | POLLRDHUP)) ? -1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user