Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

IOStream read errors logged twice #632

Closed
pitrou opened this Issue · 0 comments

2 participants

@pitrou

When recv() fails in IOStream, the error is logged twice: first in _read_to_buffer() where it gets logged and then re-raised, second in _handle_read() where it gets caught and logged again.

@bdarnell bdarnell closed this issue from a commit
@bdarnell bdarnell Remove redundant logging of read errors in IOStream.
The logging in read_from_fd is generally redundant with logging at
higher levels - the error would be logged again in _handle_read,
or propagated from _try_inline_read.

Closes #632.
26078cd
@bdarnell bdarnell closed this in 26078cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.