I have a simple program running under v0.6.12 that fetches a given URL
10 times using http.get:
https://gist.github.com/2191407
I've noticed that when http.globalAgent.maxSockets is set to 10 it
works fine. But if it is set lower I get a:
Error: Parse Error
at Socket.<anonymous> (http.js:1150:24)
at TCP.onread (net.js:354:27)
The script seems to work fine on other URLs , so I'm suspecting there
is something odd with the http server at hdl.loc.gov that is
triggering this. Possibly it's advertising http 1.1 and not actually
doing http 1.1? Any help and/or workarounds you could provide would be
appreciated.
//Ed
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en