Skip to content

Improve recv-path diagnostics#351

Open
henrik-nil-acc wants to merge 1 commit into
jborean93:masterfrom
henrik-nil-acc:fix/recv-diagnostics
Open

Improve recv-path diagnostics#351
henrik-nil-acc wants to merge 1 commit into
jborean93:masterfrom
henrik-nil-acc:fix/recv-diagnostics

Conversation

@henrik-nil-acc
Copy link
Copy Markdown

A bare TimeoutError from Tcp._recv carries no context about which recv fired or how many bytes had been consumed. The worker thread can die silently on any other Exception, leaving _t_exc to surface only on the next app call. Peer-aborted sockets (ESHUTDOWN, ECONNRESET, ECONNABORTED) are mapped to clean EOF with no log.

A bare TimeoutError from Tcp._recv carries no context about
which recv fired or how many bytes had been consumed. The
worker thread can die silently on any other Exception,
leaving _t_exc to surface only on the next app call.
Peer-aborted sockets (ESHUTDOWN, ECONNRESET, ECONNABORTED)
are mapped to clean EOF with no log.
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.

1 participant