Skip to content

Instantly share code, notes, and snippets.

@murvinlai
murvinlai / test-simple-http-data.js
Created June 17, 2011 21:38
Socket Hang up problem - A sample to generate the problem.
/*
* This is a simple HTTP data generator for testing.
*
*/
var http = require('http');
var counter = 0;
http.createServer(function (req, res) {
var start = new Date();