summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnatoli Papirovski <apapirovski@mac.com>2018-01-29 14:42:40 -0500
committerAnatoli Papirovski <apapirovski@mac.com>2018-02-04 08:23:26 -0500
commit7020bc6e0791e513d6a8e17311fe65b2c18652c0 (patch)
treee5f56fa4ebc64a6377d81e4f7936a857dce06b08 /lib
parent5c2c412f21f40bb4bb60f9e260a7c0f26aa28baa (diff)
downloadandroid-node-v8-7020bc6e0791e513d6a8e17311fe65b2c18652c0.tar.gz
android-node-v8-7020bc6e0791e513d6a8e17311fe65b2c18652c0.tar.bz2
android-node-v8-7020bc6e0791e513d6a8e17311fe65b2c18652c0.zip
http: remove domain specific code
Due to some changes to async tracking of http and also in how domains are handled, it's no longer necessary to manually copy domain from req to res in http code. PR-URL: https://github.com/nodejs/node/pull/18477 Refs: https://github.com/nodejs/node/pull/16222 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/_http_client.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/_http_client.js b/lib/_http_client.js
index ebfd809e21..9880581082 100644
--- a/lib/_http_client.js
+++ b/lib/_http_client.js
@@ -463,12 +463,6 @@ function parserOnIncomingClient(res, shouldKeepAlive) {
var socket = this.socket;
var req = socket._httpMessage;
- // propagate "domain" setting...
- if (req.domain && !res.domain) {
- debug('setting "res.domain"');
- res.domain = req.domain;
- }
-
debug('AGENT incoming response!');
if (req.res) {