Clean up stray exceptions following broker disconnect with TLS (#51)
Python 3.4 started raising ValueError instead of AttributeError when writing to
a disconnected SSL socket. When the client writes some stray messages following
a call to disconnect(), they are not caught in Python 3.4 or Python 3.5.
Signed-off-by: NJason Swails <jason.swails@gmail.com>
Showing
src/paho/mqtt/client.py
100755 → 100644
想要评论请 注册 或 登录