@nohost/router
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -125,3 +125,3 @@ const http = require('http'); | ||
cb = res; | ||
} else { | ||
} else if (res) { | ||
addCloseEvent(res, execCb); | ||
@@ -195,2 +195,6 @@ } | ||
exports.proxyToNohost = (options, req, res) => { | ||
onClose(req, res, () => { | ||
destroy(req); | ||
destroy(res); | ||
}); | ||
if (res && !res.writeHead) { | ||
@@ -197,0 +201,0 @@ return proxyConnect(options, req, res); |
{ | ||
"name": "@nohost/router", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Nohost cluster router", | ||
@@ -5,0 +5,0 @@ "main": "lib/", |
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
14870
414