Skip to content

Commit c71d0f1

Browse files
📜🤖 Added by blurb_it.
1 parent 9ebed28 commit c71d0f1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Fix :mod:`http.client` to properly reset the connection state when an
2+
:exc:`OSError` (such as a :exc:`TimeoutError`) occurs during request sending.
3+
Previously, the state remained inconsistent, causing subsequent
4+
:meth:`~http.client.HTTPConnection.request` calls to raise
5+
:exc:`~http.client.CannotSendRequest`. Patch by pareshjoshij.

0 commit comments

Comments
 (0)