@certalis/agent-smith 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/edge.js +1 -0
- package/dist/https.js +1 -0
- package/package.json +1 -1
package/dist/edge.js
CHANGED
|
@@ -102,6 +102,7 @@ function createProxyEdgeHandler({
|
|
|
102
102
|
const path = req.method === "GET" && req.url === "/pool-health" ? "/health" : req.url ?? "";
|
|
103
103
|
const headers = selectHeaders(req.headers, REQUEST_HEADERS);
|
|
104
104
|
headers.host = "localhost";
|
|
105
|
+
headers.connection = "keep-alive";
|
|
105
106
|
headers["x-forwarded-for"] = "proxy-edge";
|
|
106
107
|
let upstreamResponse;
|
|
107
108
|
const upstream = request({ socketPath, path, method: req.method, headers, agent: false }, (response) => {
|
package/dist/https.js
CHANGED
|
@@ -196,6 +196,7 @@ function createProxyEdgeHandler({
|
|
|
196
196
|
const path = req.method === "GET" && req.url === "/pool-health" ? "/health" : req.url ?? "";
|
|
197
197
|
const headers = selectHeaders(req.headers, REQUEST_HEADERS);
|
|
198
198
|
headers.host = "localhost";
|
|
199
|
+
headers.connection = "keep-alive";
|
|
199
200
|
headers["x-forwarded-for"] = "proxy-edge";
|
|
200
201
|
let upstreamResponse;
|
|
201
202
|
const upstream = request({ socketPath, path, method: req.method, headers, agent: false }, (response) => {
|
package/package.json
CHANGED