jasonrbriggs / stomp.py

“stomp.py” is a Python client library for accessing messaging servers (such as ActiveMQ or RabbitMQ) using the STOMP protocol (versions 1.0, 1.1 and 1.2). It can also be run as a standalone, command-line client for testing.
Apache License 2.0
491 stars 167 forks source link

fix: websocket shutdown failure #410

Closed mfmarche closed 1 year ago

mfmarche commented 1 year ago

If a heartbeat timeout or connection failure occurs, the shutdown logic was using original functionality (unwrap), which doesn't exist for websocket. This internally caught except then put the thread in a bad state where the consumer of the transport could not try to reconnect.