We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecc50e9 commit cf8045aCopy full SHA for cf8045a
lib/_http_client.js
@@ -361,7 +361,7 @@ function socketOnData(d) {
361
362
var ret = parser.execute(d);
363
if (ret instanceof Error) {
364
- debug('parse error');
+ debug('parse error', ret);
365
freeParser(parser, req, socket);
366
socket.destroy();
367
req.emit('error', ret);
lib/_http_server.js
@@ -379,7 +379,7 @@ function connectionListener(socket) {
379
380
function onParserExecuteCommon(ret, d) {
381
382
383
socketOnError.call(socket, ret);
384
} else if (parser.incoming && parser.incoming.upgrade) {
385
// Upgrade or CONNECT
0 commit comments