additional debug

This commit is contained in:
David Gibson 2024-08-30 14:18:00 +10:00 committed by Stefano Brivio
parent 026fb71d1d
commit d098e0527a

6
tcp.c
View file

@ -2221,6 +2221,12 @@ void tcp_sock_handler(struct ctx *c, union epoll_ref ref, uint32_t events)
ASSERT(!c->no_tcp); ASSERT(!c->no_tcp);
ASSERT(pif_at_sidx(ref.flowside) != PIF_TAP); 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) if (conn->events == CLOSED)
return; return;