Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #303 from laike9m/development
Browse files Browse the repository at this point in the history
Removed unnecessary size check
  • Loading branch information
Lukasa committed Jan 18, 2017
2 parents f8a84cf + e8d4034 commit 08dd74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyper/common/bufsocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def recv(self, amt):
else:
should_read = True

if (self._remaining_capacity > self._bytes_in_buffer and should_read):
if should_read:
count = self._sck.recv_into(self._buffer_view[self._buffer_end:])

# The socket just got closed. We should throw an exception if we
Expand Down

0 comments on commit 08dd74d

Please sign in to comment.