inetstack icon indicating copy to clipboard operation
inetstack copied to clipboard

[tcp] Check API for User Errors at Lower Level

Open BrianZill opened this issue 2 years ago • 0 comments

We don't have a consistent place to check API calls for user errors. For example, in the send path, there is a check that the user isn't attempting to send an absurd amount of data in a single send. This check isn't performed until we're all the way up in Sender::send(). This presumably could/should be done at a lower level, perhaps even in the protocol-independent part of the API code.

BrianZill avatar Mar 29 '22 22:03 BrianZill