Commit 3b07590
Reraise broken connection as HTTPConnectionError
These exceptions are copied from the list of exceptions which Net::HTTP
uses in `#transport_request` to determin whether the socket should be
closed (and retried, for idempotent requests).1 parent 557f8c9 commit 3b07590
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
54 | 62 | | |
55 | 63 | | |
56 | 64 | | |
| |||
0 commit comments