Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Hangup on connect can lead to 100% cpu usage #8

@tailhook

Description

@tailhook

The error is here:

        try:
            if unixsock:
                self._sock.connect(unixsock)
            else:
                self._sock.connect((host, port))
        except socket.error as e:
            if e.errno == errno.EINPROGRESS:
                gethub().do_write(self._sock)  # socket is never writable, HUP received
            else:
                raise

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions