Created
October 24, 2014 03:18
Revisions
-
ahamid created this gist
Oct 24, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ var express = require("express"); var app = express(); var TOO_MANY = 8000; function handler(req, res) { res.send("handler"); } // test higher routes, eventually you will get // RangeError: Maximum call stack size exceeded for (var i = 0; i < TOO_MANY; i++) { app.get('/' + i, handler); } app.listen(8181);