Commit f521999e authored by Sergey Lyubka's avatar Sergey Lyubka

Calling EP_CLIENT on close

parent e41df3cf
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment