Skip to content

Session closed due to protocol error #778

Description

@jaya460

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions