├── .gitignore ├── .travis.yml ├── LICENSE ├── benchmarks ├── express │ ├── excluded.js │ ├── included.js │ └── index.js ├── http │ ├── excluded.js │ ├── included.js │ └── index.js ├── koa │ ├── excluded.js │ ├── included.js │ └── index.js └── restify │ ├── excluded.js │ ├── included.js │ └── index.js ├── demos ├── express │ └── index.js ├── http │ └── index.js ├── koa │ └── index.js └── restify │ └── index.js ├── index.js ├── lib ├── explain.js ├── express.js ├── http.js ├── koa.js ├── restify.js └── stats.js ├── package.json ├── readme.md └── test ├── index.js └── integration ├── express └── index.js ├── http └── index.js ├── koa └── index.js └── restify └── index.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/LICENSE -------------------------------------------------------------------------------- /benchmarks/express/excluded.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/benchmarks/express/excluded.js -------------------------------------------------------------------------------- /benchmarks/express/included.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/benchmarks/express/included.js -------------------------------------------------------------------------------- /benchmarks/express/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/benchmarks/express/index.js -------------------------------------------------------------------------------- /benchmarks/http/excluded.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/benchmarks/http/excluded.js -------------------------------------------------------------------------------- /benchmarks/http/included.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/benchmarks/http/included.js -------------------------------------------------------------------------------- /benchmarks/http/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/benchmarks/http/index.js -------------------------------------------------------------------------------- /benchmarks/koa/excluded.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/benchmarks/koa/excluded.js -------------------------------------------------------------------------------- /benchmarks/koa/included.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/benchmarks/koa/included.js -------------------------------------------------------------------------------- /benchmarks/koa/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/benchmarks/koa/index.js -------------------------------------------------------------------------------- /benchmarks/restify/excluded.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/benchmarks/restify/excluded.js -------------------------------------------------------------------------------- /benchmarks/restify/included.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/benchmarks/restify/included.js -------------------------------------------------------------------------------- /benchmarks/restify/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/benchmarks/restify/index.js -------------------------------------------------------------------------------- /demos/express/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/demos/express/index.js -------------------------------------------------------------------------------- /demos/http/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/demos/http/index.js -------------------------------------------------------------------------------- /demos/koa/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/demos/koa/index.js -------------------------------------------------------------------------------- /demos/restify/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/demos/restify/index.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/index.js -------------------------------------------------------------------------------- /lib/explain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/lib/explain.js -------------------------------------------------------------------------------- /lib/express.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = require('./http') 3 | -------------------------------------------------------------------------------- /lib/http.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/lib/http.js -------------------------------------------------------------------------------- /lib/koa.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/lib/koa.js -------------------------------------------------------------------------------- /lib/restify.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = require('./http') 3 | -------------------------------------------------------------------------------- /lib/stats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/lib/stats.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/readme.md -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/test/index.js -------------------------------------------------------------------------------- /test/integration/express/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/test/integration/express/index.js -------------------------------------------------------------------------------- /test/integration/http/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/test/integration/http/index.js -------------------------------------------------------------------------------- /test/integration/koa/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/test/integration/koa/index.js -------------------------------------------------------------------------------- /test/integration/restify/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidmarkclements/overload-protection/HEAD/test/integration/restify/index.js --------------------------------------------------------------------------------