-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thread abort after exception #22
Comments
@arizz96 |
Ok @p-goudet let me know. |
The exception mentioned occurs in the packet parser. The exception handling in this part is still really basic and should be improved to avoid blocking application logic. |
@p-goudet any news? |
Sorry for this late answer. |
The latest version of raise exception if the packet format is invalid (PacketFormatException), which is easier to handle. |
Hi,
during my tests, an exception has been raised and the MQTT client died after it.
This line
paho.mqtt.ruby/lib/paho-mqtt.rb
Line 103 in c37bc2e
Do you consider it correct?
Or maybe there are some exception that should be handled in some other ways. For example, if the packed body length is over 256MB, is it ok to kill the client permanently?
I'm still investigating on my error, that raised an
Invalid packet type identifier
and I'm not able to find out why, but the problem is that an error like this can block the whole application logic.The text was updated successfully, but these errors were encountered: