commit | 07ecfc5e88b045b647860358bbdb1ddda46e3cd7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Apr 11 18:07:03 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 11 19:31:47 2022 +0200 |
tree | 02f289425eed9f60536d99fa66f371b9237e2710 | |
parent | e22267971b7c1a09cfb95fba6e300d32ee01ac70 [diff] |
MEDIUM: connection: panic when calling FD-specific functions on FD-less conns Certain functions cannot be called on an FD-less conn because they are normally called as part of the protocol-specific setup/teardown sequence. Better place a few BUG_ON() to make sure none of them is called in other situations. If any of them would trigger in ambiguous conditions, it would always be possible to replace it with an error.