Header GetBodyLengthFromHeader (byte [], int offset, int length)
The header, why length is always 409600, without using a configuration file, where you can set?
In GetBodyLengthFromHeader this function, to check agreement first, if does not conform to, want to close the connection here, how close?
CodePudding user response:
Could you tell me how to solve theCodePudding user response:
Throw exceptions, exception thrown in the filter will be disconnected, and setting out the reason of error