Commit 114d01b
Don't invoke response block more than once due to retry
If a socket error occurs while performing a streaming download via
the response block provided to transport_request, avoid calling
the response block again as this would result in duplicate data
received by the client.
Fixes #86
Fixes #87
Fixes [Bug #11526]
Co-authored-by: Jeremy Stanley <[email protected]>1 parent 21e226c commit 114d01b
2 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2350 | 2350 | | |
2351 | 2351 | | |
2352 | 2352 | | |
2353 | | - | |
| 2353 | + | |
| 2354 | + | |
| 2355 | + | |
| 2356 | + | |
2354 | 2357 | | |
2355 | 2358 | | |
2356 | 2359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1234 | 1234 | | |
1235 | 1235 | | |
1236 | 1236 | | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
1237 | 1247 | | |
1238 | 1248 | | |
1239 | 1249 | | |
| |||
0 commit comments