diff options
-rw-r--r-- | tcp.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |