Fixed a bug that generates an unexpected TypeError #383

Merged
merged 1 commit into from Mar 18, 2013

2 participants

@thefosk

This pull request fixes a bug that generates the following exception:

TypeError: Parameter 'url' must be a string, not undefined
at Object.urlParse [as parse] (url.js:96:11)
at ClientRequest.<anonymous> (/usr/lib/node_modules/test/node_modules/http-proxy/lib/node-http-proxy/http-proxy.js:273:22)
at ClientRequest.g (events.js:192:14)
at ClientRequest.EventEmitter.emit (events.js:96:17)
at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1569:7)
at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:111:23)
at Socket.socketOnData [as ondata] (http.js:1472:20)
at TCP.onread (net.js:404:27)
@indexzero indexzero merged commit ea10bb2 into nodejitsu:master Mar 18, 2013

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment