Skip to content
Myr

Moved require("http") out of Server#run()

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent 4c2b4e5 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:lib/express/core.js+2 added-1 removed
5 unmodified lines
6 */78var multipart = require('multipart'),9 utils = require('express/utils'),10 http = require('http'),11 fs = require('fs')1213global.merge(require('sys'))14global.merge(require('express/event'))
198 unmodified lines
213 var self = this214 if (host !== undefined) this.host = host215 if (port !== undefined) this.port = port216 if (backlog !== undefined) this.backlog = backlog216 require('http')217 http218 .createServer(function(req, response){219 var request, pendingFiles = 0220 req.setBodyEncoding('binary')221 request = new Request(req, response)
113 unmodified lines