Created
September 7, 2010 18:56
-
-
Save indexzero/568851 to your computer and use it in GitHub Desktop.
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 characters
response.addListener('end', function () {sys.puts('ENDING')}); | |
var _e = res.end; | |
res.end = function () { sys.puts("called end"); _e();}; | |
sys.pump(response, res); |
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 characters
http:541 | |
ret = this._send(''); | |
^ | |
TypeError: Object #<an Object> has no method '_send' | |
at http:541:18 | |
at ServerResponse.end (/Users/Charlie/Nodejitsu/node-http-proxy/lib/node-http-proxy.js:136:59) | |
at IncomingMessage.<anonymous> (sys:306:17) | |
at IncomingMessage.emit (events:43:20) | |
at HTTPParser.onMessageComplete (http:107:23) | |
at Client.ondata (http:899:22) | |
at IOWatcher.callback (net:494:29) | |
at node.js:764:9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment