Commit 872a481
smart-notes: handle response-stream error on body-limit destroy
request.destroy(err) destroys the response stream with the same error;
the request-level 'error' handler rejects the promise but the response
side had no listener, so every body-limit / timeout / abort destroy also
surfaced as an uncaught stream error on stderr.
Co-authored-by: Alfonso [Magic Context] <288211368+alfonso-magic-context@users.noreply.github.com>1 parent 6e421a6 commit 872a481
1 file changed
Lines changed: 7 additions & 0 deletions
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
241 | 248 | | |
242 | 249 | | |
243 | 250 | | |
| |||
0 commit comments