-
Notifications
You must be signed in to change notification settings - Fork 139
fix(client): race in connection errors propagation #184
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
base: master
Are you sure you want to change the base?
Conversation
48eee2b
to
f76661f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
f76661f
to
faeeee6
Compare
Thanks for fixing this, I now see how this fits together, makes sense! I wonder, can you think of a way we could deterministically test this? We can control a mock IO pretty strictly with |
I'll look into it, though I should mention that after something like 2 days or more with grok3 I failed to make tests here in |
success EDIT: I haven't really looked at the code(not that I'd really understand it), it's grok3 generated, but I tested it with and without PR, seems reliable.
|
Fix a race condition in the legacy HTTP client's connection setup where connection errors (e.g., TLS failures, unexpected server responses) were discarded, resulting in vague ChannelClosed errors. seanmonstar/reqwest#2649
faeeee6
to
9a0b4a3
Compare
in legacy_client tests only
Fix a race condition in the legacy HTTP client's connection setup where connection errors (e.g., TLS failures, unexpected server responses) were discarded, resulting in vague ChannelClosed errors.
seanmonstar/reqwest#2649