Skip to content

Commit

Permalink
fix: correct problem with intercepted WebSocket msg handling (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
rentallect authored Sep 14, 2023
1 parent bfc733a commit 6d621c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions src/channel/channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1186,15 +1186,6 @@ class ZitiChannel {
*/
_tryHandleResponse(conn, responseSequence, data) {

if (!isUndefined(conn)) {
let socket = conn.socket;
if (!isUndefined(socket)) {
if (socket.isWebSocket) {
return;
}
}
}


let messagesQueue = this._messages;
if (!isUndefined(conn)) {
Expand Down
2 changes: 1 addition & 1 deletion src/context/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,7 @@ class ZitiContext extends EventEmitter {
throwIf(isUndefined(edgeRouter), 'edgeRouter not specified');


this.logger.trace('getChannelByEdgeRouter entered for conn[%d] edgeRouter[%s]', conn, edgeRouter.hostname);
this.logger.trace('getChannelByEdgeRouter entered for conn[%d] edgeRouter[%s]', conn.id, edgeRouter.hostname);

let key = edgeRouter.hostname + '-' + conn.networkSessionToken;

Expand Down

0 comments on commit 6d621c2

Please sign in to comment.