bdy 1.9.35-stage → 1.9.36-beta

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.9.35-stage",
4
+ "version": "1.9.36-beta",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -356,9 +356,9 @@ class TunnelHttp extends events_1.default {
356
356
  const resHeaders = proxyRes?.headers || {};
357
357
  const reqSocket = this.req.socket;
358
358
  this.httpLog.newResponse(this.req, 101, resHeaders, this.logRequest);
359
- this.clear();
360
359
  socket.setTimeout(0);
361
360
  const headers = this.getClearedHeaders(resHeaders, null, true);
361
+ this.clear();
362
362
  let msg = 'HTTP/1.1 101 Web Socket Protocol Handshake\r\n';
363
363
  Object.keys(headers).forEach((k) => {
364
364
  const v = headers[k];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.9.35-stage",
4
+ "version": "1.9.36-beta",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {