commit | 8019f78326993a50458a69534c5b29e1266cbb05 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Mar 23 17:30:29 2023 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 05 08:57:06 2023 +0200 |
tree | 194cf6d9e58d1ce52eaadbe582c91be056ed402c | |
parent | 7faac7cf347656e8ff74296cda45c3a1542c88b2 [diff] |
MINOR: stconn/applet: Add BUG_ON_HOT() to be sure SE_FL_EOS is never set alone SE_FL_EOS flag must never be set on the SE descriptor without SE_FL_EOI or SE_FL_ERROR. When a mux or an applet report an end of stream, it must be able to state if it is the end of input too or if it is an error. Because all this part was recently refactored, especially the applet part, it is a bit sensitive. Thus a BUG_ON_HOT() is used and not a BUG_ON().