diff --git a/tcp.c b/tcp.c index 7b3376f..72c8a94 100644 --- a/tcp.c +++ b/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;