Skip to content

Instantly share code, notes, and snippets.

@jed
Created March 13, 2010 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jed/331357 to your computer and use it in GitHub Desktop.
Save jed/331357 to your computer and use it in GitHub Desktop.
require("http").createServer( function( req, res ) {
res.write( "this will silently hang because sendHeader was not called" )
res.close();
}).listen( 8000 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment