commit | c7576eac4603d80c787a276ba495f8471fc0a05b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Oct 29 22:00:09 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 18:16:19 2017 +0100 |
tree | f89e92667dd93fc9f3c4dc786faeab5574641fc4 | |
parent | cd234e9fb0174da3d0f4a10fe0f27df4c8074704 [diff] |
MEDIUM: h2: send DATA+ES or RST_STREAM on shutw/shutr When a stream sends a shutw, we send an empty DATA frame with the ES flag set, except if no HEADERS were sent, in which case we rather send RST_STREAM. On shutr(1) to abort a request, an RST_STREAM frame is sent if the stream is OPEN and the stream is closed. Care is taken to switch the stream's state accordingly and to avoid sending an ES bit again or another RST once already done.