You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the max_payload option is only applied when decoding incoming requests (with polling transport).
It also must be applied when encoding payload. It may be done by using peekable streams on the tokio receiver. It allows us to calculate the future size of the payload when adding a packet without polling it out of the channel.
If there is not enough remaining space we must stop the encoding process
Otherwise we can continue to poll packets and add them to the payload.
The text was updated successfully, but these errors were encountered:
Currently the
max_payload
option is only applied when decoding incoming requests (with polling transport).It also must be applied when encoding payload. It may be done by using peekable streams on the tokio receiver. It allows us to calculate the future size of the payload when adding a packet without polling it out of the channel.
If there is not enough remaining space we must stop the encoding process
Otherwise we can continue to poll packets and add them to the payload.
The text was updated successfully, but these errors were encountered: