@landstrip/landstrip-api 0.20.7 → 0.20.8

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.
Files changed (2) hide show
  1. package/lib/proxy.js +1 -1
  2. package/package.json +7 -7
package/lib/proxy.js CHANGED
@@ -41,7 +41,7 @@ function splitHostPort(target) {
41
41
  const proxyAuthenticateChallenge = 'Basic realm="landstrip"';
42
42
 
43
43
  function denyProxyRequest(client, status = '403 Forbidden', headers = {}) {
44
- let response = `HTTP/1.1 ${status}\r\nContent-Length: 0\r\n`;
44
+ let response = `HTTP/1.1 ${status}\r\nConnection: close\r\nContent-Length: 0\r\n`;
45
45
  for (const [name, value] of Object.entries(headers)) response += `${name}: ${value}\r\n`;
46
46
  client.write(`${response}\r\n`);
47
47
  client.end();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@landstrip/landstrip-api",
3
- "version": "0.20.7",
3
+ "version": "0.20.8",
4
4
  "description": "Sandbox runner using Landlock, Seatbelt, and AppContainer",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/landstrip/landstrip#readme",
@@ -40,12 +40,12 @@
40
40
  "ipaddr.js": "^2.5.0"
41
41
  },
42
42
  "optionalDependencies": {
43
- "@landstrip/landstrip-darwin-arm64": "0.20.7",
44
- "@landstrip/landstrip-darwin-x64": "0.20.7",
45
- "@landstrip/landstrip-linux-x64": "0.20.7",
46
- "@landstrip/landstrip-linux-arm64": "0.20.7",
47
- "@landstrip/landstrip-win32-x64": "0.20.7",
48
- "@landstrip/landstrip-win32-arm64": "0.20.7"
43
+ "@landstrip/landstrip-darwin-arm64": "0.20.8",
44
+ "@landstrip/landstrip-darwin-x64": "0.20.8",
45
+ "@landstrip/landstrip-linux-x64": "0.20.8",
46
+ "@landstrip/landstrip-linux-arm64": "0.20.8",
47
+ "@landstrip/landstrip-win32-x64": "0.20.8",
48
+ "@landstrip/landstrip-win32-arm64": "0.20.8"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"