mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Calling EP_CLIENT on close
This commit is contained in:
parent
e41df3cf9c
commit
f521999ea6
@ -4752,7 +4752,7 @@ static void mg_ev_handler(struct ns_connection *nc, enum ns_event ev, void *p) {
|
||||
DBG(("%p %d closing", conn, conn->endpoint_type));
|
||||
|
||||
if (conn->endpoint_type == EP_CLIENT && nc->recv_iobuf.len > 0) {
|
||||
// call_http_client_handler(conn);
|
||||
call_http_client_handler(conn);
|
||||
}
|
||||
|
||||
call_user(conn, MG_CLOSE);
|
||||
|
Loading…
Reference in New Issue
Block a user