commit | 83906c2f912ea46373fda5795f398c5c657f01e8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Nov 07 11:48:46 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Nov 07 14:47:04 2017 +0100 |
tree | 4afca8c7b545bc1b6b3ecfb757f13965627580e6 | |
parent | f5d79ac5a84712aac1c4af53159e66ae45d32edf [diff] |
BUG/MEDIUM: h2: don't close the connection is there are data left h2_detach() is called after a stream was closed, and it evaluates if it's worth closing the connection. The issue there is that the connection is closed too early in case there's demand for closing after the last stream, even if some data remain in the mux. Let's change the condition to check for this.