bdy 1.9.35-dev → 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.
- package/distTs/package.json +1 -1
- package/distTs/src/tunnel/http.js +1 -1
- package/package.json +1 -1
package/distTs/package.json
CHANGED
|
@@ -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];
|