Skip to content

Improved WebSocket Error Handling and Stability (v1.0.2)

Latest
Compare
Choose a tag to compare
@albeebe albeebe released this 07 Dec 23:37

Improvements:

  • Enhanced error handling with panic recovery in readMessages and SendMessage.
  • Added thread-safe message sending using a mutex in writeMessages.
  • Improved handling of closed channels and context cancellation.
  • Better management of outgoing message buffer overflows with graceful connection closure.