mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04:00
CLEANUP: mux-h1: Don't test h1c in h1_shutw_conn()
The H1 connection cannot be NULL when h1_shutw_conn() is called. Thus there is no reason to test it. This patch should fix the issue #1936.
This commit is contained in:
parent
831d613f54
commit
ce7928d19c
1 changed files with 1 additions and 1 deletions
|
|
@ -3538,7 +3538,7 @@ static void h1_shutw_conn(struct connection *conn)
|
|||
return;
|
||||
|
||||
conn_xprt_shutw(conn);
|
||||
conn_sock_shutw(conn, (h1c && !(h1c->flags & H1C_F_SILENT_SHUT)));
|
||||
conn_sock_shutw(conn, !(h1c->flags & H1C_F_SILENT_SHUT));
|
||||
TRACE_LEAVE(H1_EV_H1C_END, conn);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue