commit | d1b573059ac201b7fef4cf468c454c15eadc11c2 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Nov 23 17:13:12 2022 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Nov 23 17:13:13 2022 +0100 |
tree | c27bcf97974817f2fae682112ad9172a9e81e90b | |
parent | a1a76ce709b453f6bf58dc720648ad258eef2811 [diff] |
MINOR: mux-h1: Avoid useless call to h1_send() if no error is sent If we choose to not send an error to the client, there is no reason to call h1_send() for nothing. This happens because functions handling errors return 1 instead of 0 when nothing is performed.