Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Fixed for _reuse missing from socket object #2

Open
wants to merge 2 commits into
base: pypy-hacks
Choose a base branch
from
Open
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
4 changes: 4 additions & 0 deletions gevent/socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ def _wait(self, watcher, timeout_exc=timeout('timed out')):
if timeout is not None:
timeout.cancel()

def _reuse(self):
self._sock._reuse()


def accept(self):
sock = self._sock
while True:
Expand Down