joyent/node — pull request #2363 by felixge (2011-12-18 14:58:39+00:00)
Title: 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`.