Description
When sending data from an external system that exceeds the configured MaxRequestLength, the session is closed due to a protocol error. I need a way to handle this scenario gracefully, notify the client about the issue, and prevent the session from closing abruptly.
Expected Behavior
The server should handle oversized requests gracefully, notify the client about the issue, and prevent the session from closing abruptly.
Actual Behavior
The session is closed due to a protocol error when the data exceeds the MaxRequestLength.
we are using a custom implementation of the BeginEndMarkReceiveFilter from SuperSocket. Specifically, the class MLLPBeginEndMarkReceiveFilter extends BeginEndMarkReceiveFilter.
Description
When sending data from an external system that exceeds the configured MaxRequestLength, the session is closed due to a protocol error. I need a way to handle this scenario gracefully, notify the client about the issue, and prevent the session from closing abruptly.
Expected Behavior
The server should handle oversized requests gracefully, notify the client about the issue, and prevent the session from closing abruptly.
Actual Behavior
The session is closed due to a protocol error when the data exceeds the MaxRequestLength.
we are using a custom implementation of the BeginEndMarkReceiveFilter from SuperSocket. Specifically, the class MLLPBeginEndMarkReceiveFilter extends BeginEndMarkReceiveFilter.