Files
node/lib
Florin-Cristian Gavrila 8bcd0a4c4a http: fix performance regression for GET requests
A significant performance regressions has been introduced in 1fddc1f for
GET requests which send data through response.end(). The number of
requests per second dropped to somewhere around 6% of their previous
level.

The fix consists of removing a part of the lines added by 1fddc1f,
lines which were supposed to affect only HEAD requests, but interfered
with GET requests instead.

The lines removed would not have affected the behaviour in the case of
a HEAD request as this._hasBody would always be false. Therefore, they
were not required to fix the issue reported in #8361.

Fixes #8940.

PR: #9026
PR-URL: https://github.com/joyent/node/pull/9026
Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
2015-03-05 11:16:52 -08:00
..
2011-03-14 17:37:05 -07:00
2014-11-18 16:42:10 -08:00
2011-03-14 17:37:05 -07:00
2011-03-14 17:37:05 -07:00
2014-07-31 08:59:46 -07:00
2013-02-22 16:30:27 -08:00
2013-01-16 16:53:11 +01:00
2012-06-28 10:14:03 -07:00
2013-02-28 23:11:47 +01:00
2015-02-09 14:49:10 -07:00
2012-03-03 23:48:57 -08:00