Skip to content

Instantly share code, notes, and snippets.

View Philmod's full-sized avatar

Philippe Modard Philmod

View GitHub Profile
@Philmod
Philmod / socketHangUp.js
Created March 21, 2013 18:23
This is simple way to reproduce the socket hang up. Hope it can help.
// npm install express supertest
// node socketHangUp.js
/**
* Express server.
*/
var express = require('express')
, request = require('supertest')
;