Skip to content

feat(request): allow poisoning and discarding the underlying connection#994

Draft
0x676e67 wants to merge 6 commits intomainfrom
feat
Draft

feat(request): allow poisoning and discarding the underlying connection#994
0x676e67 wants to merge 6 commits intomainfrom
feat

Conversation

@0x676e67
Copy link
Owner

No description provided.

Removed unnecessary documentation comments for clarity.
@AnCry1596
Copy link

Oh, can I ask if that pull fix this error

‘’’
wreq::Error { kind: Request, uri: https://example.com, source: Error { kind: SendRequest, source: Some(crate::core::Error(Io, Custom { kind: BrokenPipe, error: "stream closed because of a broken pipe" })), connect_info: Some(Connected { alpn: H2, is_proxied: false, extra: Some(Extra), poisoned: PoisonPill@0x23cb1c9d140 { poisoned: false } }) } }
‘’’

@0x676e67
Copy link
Owner Author

Oh, can I ask if that pull fix this error

‘’’ wreq::Error { kind: Request, uri: https://example.com, source: Error { kind: SendRequest, source: Some(crate::core::Error(Io, Custom { kind: BrokenPipe, error: "stream closed because of a broken pipe" })), connect_info: Some(Connected { alpn: H2, is_proxied: false, extra: Some(Extra), poisoned: PoisonPill@0x23cb1c9d140 { poisoned: false } }) } } ‘’’

I don’t think this has anything to do with your internet problem

@AnCry1596
Copy link

AnCry1596 commented Nov 30, 2025

Oh, can I ask if that pull fix this error
‘’’ wreq::Error { kind: Request, uri: https://example.com, source: Error { kind: SendRequest, source: Some(crate::core::Error(Io, Custom { kind: BrokenPipe, error: "stream closed because of a broken pipe" })), connect_info: Some(Connected { alpn: H2, is_proxied: false, extra: Some(Extra), poisoned: PoisonPill@0x23cb1c9d140 { poisoned: false } }) } } ‘’’

I don’t think this has anything to do with your internet problem

Sometime I randomly got that problem or this problem, I’m not sure what happened, or how I can reduce this with retry.

—-
wreq::Error { kind: Request, uri: https://example.com, source: Error { kind: SendRequest, source: Some(crate::core::Error(Io, Kind(ConnectionReset))), connect_info: Some(Connected { alpn: H2, is_proxied: false, extra: Some(Extra), poisoned: PoisonPill@0x21f724c85e0 { poisoned: false } }) } }

@0x676e67
Copy link
Owner Author

Oh, can I ask if that pull fix this error

‘’’ wreq::Error { kind: Request, uri: https://example.com, source: Error { kind: SendRequest, source: Some(crate::core::Error(Io, Custom { kind: BrokenPipe, error: "stream closed because of a broken pipe" })), connect_info: Some(Connected { alpn: H2, is_proxied: false, extra: Some(Extra), poisoned: PoisonPill@0x23cb1c9d140 { poisoned: false } }) } } ‘’’

I don’t think this has anything to do with your internet problem

Sometime I randomly got that problem or this problem, I’m not sure what happened, or how I can reduce this with retry.

—-

wreq::Error { kind: Request, uri: https://example.com, source: Error { kind: SendRequest, source: Some(crate::core::Error(Io, Kind(ConnectionReset))), connect_info: Some(Connected { alpn: H2, is_proxied: false, extra: Some(Extra), poisoned: PoisonPill@0x21f724c85e0 { poisoned: false } }) } }

This result shows that your network is very poor and the flow is randomly disconnected. I haven't encountered this kind of problem so far.

@AnCry1596
Copy link

Thank you for helping me, I think I should contact my internet provider.

@0x676e67 0x676e67 changed the title feat(response): allow poisoning and discarding the underlying connection feat(request): allow poisoning and discarding the underlying connection Dec 1, 2025
@0x676e67 0x676e67 force-pushed the main branch 15 times, most recently from a543df1 to f814165 Compare February 18, 2026 13:55
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

Comments