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

Removed unnecessary size check #303

Merged
merged 1 commit into from
Jan 18, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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