- Platform: various
- Subsystem: http2
The test issues in #21561 highlighted that we have an issue in HTTP/2 with dealing with aborted connections. At this point, it’s not obvious how to do so in a cross-platform manner without triggering uncaught exceptions.
This part of the test should not be necessary:
| // TODO(addaleax): This is a *hack*. HTTP/2 needs to have a proper way of |
| // dealing with this kind of issue. |
| process.once('uncaughtException',(err)=>{ |
| if(err.code==='ECONNRESET')return; |
| throwerr; |
| }); |
/cc @nodejs/http2 @apapirovski
The test issues in #21561 highlighted that we have an issue in HTTP/2 with dealing with aborted connections. At this point, it’s not obvious how to do so in a cross-platform manner without triggering uncaught exceptions.
This part of the test should not be necessary:
node/test/parallel/test-http2-respond-with-file-connection-abort.js
Lines 32 to 37 in d94950e
/cc @nodejs/http2 @apapirovski