Commit 9d3b5cd
authored
Don't close the output stream when reporting errors reading the body. (#1068)
This matches the asio implementation to what the winhttp implementation was doing.
Also turned on a test that looked related; I'm not positive that this change fixed that test but it passes for me now.1 parent 3f6f844 commit 9d3b5cd
2 files changed
Lines changed: 15 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
431 | | - | |
| 430 | + | |
432 | 431 | | |
433 | | - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
434 | 435 | | |
435 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
436 | 444 | | |
| 445 | + | |
437 | 446 | | |
| 447 | + | |
| 448 | + | |
438 | 449 | | |
439 | 450 | | |
440 | 451 | | |
| |||
459 | 470 | | |
460 | 471 | | |
461 | 472 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | 473 | | |
468 | 474 | | |
469 | 475 | | |
| |||
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | 229 | | |
234 | | - | |
235 | 230 | | |
236 | 231 | | |
237 | 232 | | |
| |||
261 | 256 | | |
262 | 257 | | |
263 | 258 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | 259 | | |
269 | | - | |
270 | 260 | | |
271 | 261 | | |
272 | 262 | | |
| |||
0 commit comments