CLEANUP: mux-h2: simply use h2s->flags instead of ret in h2_deferred_shut()
authorWilly Tarreau <w@1wt.eu>
Mon, 13 May 2019 16:17:53 +0000 (18:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 13 May 2019 17:14:52 +0000 (19:14 +0200)
commit88bdba31fa697f879941dc8acfc0e76c76800511
treebc5b3e1177ebc99a5e2ccf31d9b263017162c8cb
parent2c249ebc7543512a4539a48bb75676dca47bf5fe
CLEANUP: mux-h2: simply use h2s->flags instead of ret in h2_deferred_shut()

This one used to rely on the combined return statuses of the shutr/w
functions but now that we have the H2_SF_WANT_SHUT{R,W} flags we don't
need this anymore if we properly remove these flags after their operations
succeed. This is what this patch does.
src/mux_h2.c