Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

eventTsmAsyncTLSServer.OnSendQueueOverflow

property OnSendQueueOverflow: tAsyncTLSSendOverflowEvent read fOnSendQueueOverflow write fOnSendQueueOverflow;
THE BACKLOG CEILING CLOSED A CONNECTION. Fired once per connection when MaxSendQueueBytes refuses a buffer, just before the close it causes - the close is not vetoable and happens whatever the handler does. aQueued and aInFlight are the octets already waiting and being sent, aRefused the buffer that did not fit. Without a handler the close is silent, which is exactly what makes a download that stops part-way impossible to diagnose from a server log; a server should log it. CONTRACT: runs with the connection's gate held, on whichever thread called Send - an I/O thread for the library's own plugins, possibly another thread for a plugin that sends from its own. Log and return: do not block, do not call back into the connection or the server.