Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

eventtHttp2Conn.OnBodyRefused

property OnBodyRefused: tHttpBodyRefusedEvent read fOnBodyRefused write fOnBodyRefused;
EVERY REQUEST BODY A BOUND REFUSED, once, with the refusal already on its way to the peer: a content-length over MaxBodyBytes or MaxConnBodyBytes, answered 413 and then RST_STREAM(NO_ERROR), and a body that reaches one of them, or the owner's budget, as DATA, reset with ENHANCE_YOUR_CALM. Sender is this engine. Called from inside Receive; an exception the handler raises is dropped, because the refusal no longer depends on it.