• Figured out what's going on here.

    res.on('close') is not called when the body of the response has length of 0 (which is common in REST API's), and the response never seems to get cleared out (presumably the same logic as on('close'). I have no idea how that callback is called, so I can't really pursue it further

    https://github.com/espruino/Espruino/issues/528

About

Avatar for DrAzzy @DrAzzy started