Skip to content

Improvements to WsClient#11

Open
kgiverson wants to merge 1 commit intoaudiopump:mainfrom
kgiverson:issue-6
Open

Improvements to WsClient#11
kgiverson wants to merge 1 commit intoaudiopump:mainfrom
kgiverson:issue-6

Conversation

@kgiverson
Copy link
Copy Markdown
Contributor

I was not able to repoduce issue 6 on my local environment but came up with some code changes in the area that seemed worth a PR and may address the isssue. I wasn't sure how you wanted to handle logging so left that as a potential TODO.

  • Added an error event listener to the WebSocket downstream socket and implements an error callback for the .send() method. This should prevent the proxy from crashing when a client abruptly disconnects during a write operation.

implements an error callback for the .send() method. This should prevent
the proxy from crashing when a client abruptly disconnects during a
write operation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant