When a pending HTTP request is cancelled by a client/browser it seems that Node with Express continues to process the request. For intensive requests, the CPU is still being
With express, you can try:
req.connection.on('close',function(){ // code to handle connection abort console.log('user cancelled'); });