Comparing version 8.1.1 to 8.1.2
@@ -49,3 +49,4 @@ 'use strict'; | ||
secureProtocol: Joi.string(), | ||
ciphers: Joi.string() | ||
ciphers: Joi.string(), | ||
downstreamResponseTime: Joi.boolean() | ||
}) | ||
@@ -168,2 +169,3 @@ .xor('host', 'mapUri', 'uri') | ||
downstreamResponseTime = process.hrtime(downstreamStartTime); | ||
request.log(['h2o2', 'success'], { downstreamResponseTime: downstreamResponseTime[0] * NS_PER_SEC + downstreamResponseTime[1] }); | ||
} | ||
@@ -183,7 +185,2 @@ } | ||
if (settings.downstreamResponseTime) { | ||
downstreamResponseTime = process.hrtime(downstreamStartTime); | ||
request.log(['h2o2', 'success'], { downstreamResponseTime: downstreamResponseTime[0] * NS_PER_SEC + downstreamResponseTime[1] }); | ||
} | ||
if (settings._upstreamTtl) { | ||
@@ -190,0 +187,0 @@ const cacheControlHeader = res.headers['cache-control']; |
{ | ||
"name": "h2o2", | ||
"description": "Proxy handler plugin for hapi.js", | ||
"version": "8.1.1", | ||
"version": "8.1.2", | ||
"repository": "git://github.com/hapijs/h2o2", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
86052
1587