Created
May 24, 2011 22:52
-
-
Save titanous/989941 to your computer and use it in GitHub Desktop.
node.js v0.4.8 https.get regression
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
| var https = require('https'); | |
| https.get({ host: 'www.google.com', path: '/accounts/o8/site-xrds?hd=jadedpixel.com' }, function(res) { | |
| res.on('data', function(d) { | |
| console.log('chunk'); | |
| }); | |
| res.on('end', function() { | |
| console.log('end'); | |
| }); | |
| }).on('error', function(e) { | |
| console.error(e); | |
| }); |
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
| $ /usr/local/Cellar/node/0.4.7/bin/node get.js | |
| chunk | |
| chunk | |
| chunk | |
| end | |
| $ /usr/local/Cellar/node/0.4.8/bin/node get.js | |
| chunk | |
| chunk | |
| chunk | |
| $ |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not happy right now.