commit | e59f7583ee9952a101f0430992add3fdff4db2ae | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue May 09 11:44:56 2023 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue May 09 11:53:28 2023 +0200 |
tree | 4a414f21a4987dd9426b3e9f329912466af0bf25 | |
parent | d6f0557deb671f8a4e5228ac7e107916a555c436 [diff] |
MEDIUM: stconn: Be sure to always be able to unblock a SC that needs room When sc_need_room() is called, the caller cannot request more free space than a minimum value to be sure it is always possible to unblock it. it is a safety guard to not freeze any SC on NEED_ROOM condition. At worse it will lead to some wakeups un excess at the edge. To keep things simple, the following minimum is used: (global.tune.bufsize - global.tune.maxrewrite - sizeof(struct htx))