Skip to content

Conversation

@rblaze
Copy link
Contributor

@rblaze rblaze commented Jan 21, 2019

getocketOption s SoError returns errno, not 0/-1 flag. For example, for "Connection Refused" it returns 111, but this error gets swallowed by the handler code.

Copy link
Collaborator

@kazu-yamamoto kazu-yamamoto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

kazu-yamamoto added a commit to kazu-yamamoto/network that referenced this pull request Jan 21, 2019
@kazu-yamamoto kazu-yamamoto merged commit 8092aaf into haskell:master Jan 21, 2019
@kazu-yamamoto kazu-yamamoto mentioned this pull request Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants