Skip to content

doc: http event order correction

Rodrigo Muino Tomonari requested to merge github/fork/wh0/patch-1 into main

#33035 changed the order of events coming from socketCloseListener in _http_client.js, using res.destroy(...) to call res.emit('error', ...) and res.emit('close') together on the next tick(s) instead of manually putting one before and one after the req.emit('close'). This fixes the doc to reflect this order of events.

Merge request reports

Loading