summaryrefslogtreecommitdiff
path: root/lib/net.js
diff options
context:
space:
mode:
authorGireesh Punathil <gpunathi@in.ibm.com>2018-06-12 10:41:07 -0400
committerGireesh Punathil <gpunathi@in.ibm.com>2018-06-22 15:29:59 +0530
commitcbe307dc812a9088aa909837b9edd7e728e14953 (patch)
tree9a924c2b0840dc791e71db5eafc580fd812c59b5 /lib/net.js
parent9ca41e964246ad5f804a91419d6590ee83653fd8 (diff)
downloadandroid-node-v8-cbe307dc812a9088aa909837b9edd7e728e14953.tar.gz
android-node-v8-cbe307dc812a9088aa909837b9edd7e728e14953.tar.bz2
android-node-v8-cbe307dc812a9088aa909837b9edd7e728e14953.zip
doc: explain HTTP writeHead()'s fast path behavior
calling writeHead() into a Response object that has no headers already set causes getHeader() to return undefined, even if the header was set in the writeHead() function call. Explain this behavior as an optimiation as opposed to a bug. Fixes: https://github.com/nodejs/node/issues/10354 PR-URL: https://github.com/nodejs/node/pull/21289 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'lib/net.js')
0 files changed, 0 insertions, 0 deletions