Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertytCustomHTTPLimits.TotalBodyBytes

property TotalBodyBytes: Int64 read fTotalBodyBytes write SetTotalBodyBytes;
BOTH wires, and the only bound here that is SERVER-wide: request bodies held across every connection this component serves. The per-request and per-connection caps say nothing about the population; at the defaults their product was tens of gigabytes of admissible in-flight body. Over it is 503 on HTTP/1.1 and a stream reset on HTTP/2 - the peer did nothing wrong, the server is full. PER COMPONENT: a host serving both http/1.1 and h2 has two of these and its real ceiling is their sum. No "default" specifier, deliberately: an Int64 published property stores its default in a 32-bit RTTI field, so the specifier is a trap waiting for the day someone raises this above 2 GiB. Without one the value is always streamed, which is correct and costs a few bytes of DFM.