commit | b22b5f02af3061f40e2ff4ef6c6c33daa3a2716e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue May 10 14:57:16 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 13 14:28:48 2022 +0200 |
tree | c7f535d39268048949f8c52e3140f5f4d0a2e8bb | |
parent | 56d5a819d7ee3969b42aa8364c6696cfe45973e8 [diff] |
MINOR: mux-h2: make sure any h2s always has an endpoint The principle that each mux stream should have an endpoint is not guaranteed for closed streams that map to the dummy static streams. Let's have a dummy endpoint for use with such streams. It only has the DETACHED flag and a NULL conn_stream, and is referenced by all the closed streams so that we can afford not to test h2s->endp when trying to access the flags or the CS.