apache / trafficserver

Apache Traffic Serverâ„¢ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.
https://trafficserver.apache.org/
Apache License 2.0
1.74k stars 782 forks source link

Fix XpackDynamicTable::_make_space return value #11408

Closed bneradt closed 1 month ago

bneradt commented 1 month ago

Callers expect _make_space to return true if it was able to free the amount of given space, but it rather returns true if the amount of space available exceeds the passed in value. This fixes the function to return the intended result.

cmcfarlen commented 3 weeks ago

Cherry-picked to v10.0.x