hyper
hyper copied to clipboard
Fix BufferedSocket capacity calculation
Resolves #398, by including _bytes_in_buffer into the _remaining_capacity calculation. Added test to illustrate the issue.