Commit 7c4f628
fix: handle response-level errors in raw-fetch loadtest
Add res.on('error', reject) so the promise settles if the server
aborts mid-response, instead of hanging indefinitely.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent b9625b4 commit 7c4f628
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments