additional debug
This commit is contained in:
parent
026fb71d1d
commit
d098e0527a
1 changed files with 6 additions and 0 deletions
6
tcp.c
6
tcp.c
|
@ -2221,6 +2221,12 @@ void tcp_sock_handler(struct ctx *c, union epoll_ref ref, uint32_t events)
|
|||
ASSERT(!c->no_tcp);
|
||||
ASSERT(pif_at_sidx(ref.flowside) != PIF_TAP);
|
||||
|
||||
if (events & EPOLLRDHUP) {
|
||||
flow_err(conn, "EPOLLRDHUP: events=0x%x conn->events=0x%x "
|
||||
"conn->flags=0x%x\n", events, conn->events,
|
||||
conn->flags);
|
||||
}
|
||||
|
||||
if (conn->events == CLOSED)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue