SshChannelImpl.releaseReceive

void releaseReceive(size_t bytes)

Returns

whether the receive window needs replenishing.

Records application consumption of received bytes.

The bytes accumulate as a pending re-grant; the session sends the CHANNEL_WINDOW_ADJUST once the replenish threshold is met.

Parameters

bytesBytes consumed by the application (or discarded).