The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-http-client-parse-error.js @ 6f043940

History | View | Annotate | Download (2.04 KB)

# Date Author Comment
c78678b0 08/24/2012 11:26 AM Brian White

http: bubble up parser errors to ClientRequest

Make parser errors bubble up to the ClientRequest instead of the underlying
net.Socket object.

Fixes #3776.

18240193 03/19/2012 10:00 PM Felix Geisendörfer

Expose http parse error codes

Currently http parse errors do not expose the error details available
from http_parser. This patch exposes the error code as `err.code`.

018e110c 10/14/2011 07:08 PM Ben Noordhuis

test: replace .addListener() calls with .on()

87286cc7 10/05/2011 09:51 PM Colton Baker

Fixed a lot of jslint errors.

Fixes #1831

8293bb8a 08/16/2011 10:59 AM koichik

test: refactored http test.

Many http tests had used legacy http.Client.
This refactored it to use modern API.

Fixes #1528.

55048cdf 03/14/2011 08:37 PM Ryan Dahl

Update copyright headers

093dfaf8 12/05/2010 06:42 PM Oleg Efimov

GJSLint all tests, only 3 long lines left in test-url.js

test/simple/test-url.js:31:(0110) Line too long (82 characters).
test/simple/test-url.js:39:(0110) Line too long (85 characters).
test/simple/test-url.js:40:(0110) Line too long (92 characters).

44234e9c 10/23/2010 05:13 PM Ryan Dahl

Fix a few 'listening' race conditions

in
test-net-timeout
test-http-client-parse-error

ee9af669 09/30/2010 02:48 PM Ryan Dahl

Add test for getting parse error from HTTP client

Made this test in response to this thread:
http://groups.google.com/group/nodejs/browse_thread/thread/f82835007a277de2/
But Node appears to be working correctly.