Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix reading from socket error queue #272

Merged
merged 1 commit into from
Dec 3, 2020
Merged

Conversation

RoadRunnr
Copy link
Member

A select info is generated whenever there is something to read from
the socket, in C terms (POLLIN | POLLERR). There is no distinction
whether that is normal read or errqueue read (POLLERR).
This adds a heuristic to read the errqueue should we get no data from
a normal socket read.

A select info is generated whenever there is something to read from
the socket, in C terms `(POLLIN | POLLERR)`. There is no distinction
whether that is normal read or errqueue read (POLLERR).
This adds a heuristic to read the errqueue should we get no data from
a normal socket read.
@RoadRunnr RoadRunnr requested a review from a team as a code owner December 1, 2020 16:24
@coveralls
Copy link

Coverage Status

Coverage remained the same at 78.417% when pulling faae4a1 on fix/socket-errqueue-read into 1f1b221 on master.

@vkatsuba vkatsuba merged commit 25a4970 into master Dec 3, 2020
@vkatsuba vkatsuba deleted the fix/socket-errqueue-read branch December 3, 2020 10:19
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.

3 participants