http: cork/uncork before flushing pipelined res
authorFedor Indutny <fedor@indutny.com>
Sun, 4 Oct 2015 04:01:06 +0000 (00:01 -0400)
committerJames M Snell <jasnell@gmail.com>
Thu, 8 Oct 2015 03:39:17 +0000 (20:39 -0700)
commit2ddbbfd164e612eb75b18846ae650d4ffbb2164a
tree626137b7ae0ec8c7f47d13a7e1e4be6e223b364b
parent660f7591c80f5a7df6d639c49cba24476329e001
http: cork/uncork before flushing pipelined res

Make sure that the pipelined response data will be written as less TCP
packets as possible.

PR-URL: https://github.com/nodejs/node/pull/3172
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
lib/_http_outgoing.js