Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
return BufferTooShort when Connection::recv(...) is called with an em…
…pty buffer Motivation: We should return BufferTooShort if recv is called with an empty buffer to guard against missuse and possible endless loops in users code. Modifications: - Add extra if statement that checks for an empty buffer and return the correct error in this case - Add unit test Result: Less risk for users Fixes ##817.
- Loading branch information