njouanin / hbmqtt

MQTT client/broker using Python asynchronous I/O
MIT License
800 stars 188 forks source link

Add protocol write synchronization. #173

Closed d21d3q closed 5 years ago

d21d3q commented 5 years ago

Concurrent write to protocol was causing library to crash when drain() function was called simultaneously.

Fixes #172

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at ?% when pulling 6f282187d88860c118e4051339407d8ca0e1a97f on d21d3q:bugfix/synchronize-write into 6f2cd7f83c76ff60aeb800bd59d397d38d52b8f3 on beerfactory:master.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at ?% when pulling 6f282187d88860c118e4051339407d8ca0e1a97f on d21d3q:bugfix/synchronize-write into 6f2cd7f83c76ff60aeb800bd59d397d38d52b8f3 on beerfactory:master.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at ?% when pulling 6f282187d88860c118e4051339407d8ca0e1a97f on d21d3q:bugfix/synchronize-write into 6f2cd7f83c76ff60aeb800bd59d397d38d52b8f3 on beerfactory:master.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at ?% when pulling 6f282187d88860c118e4051339407d8ca0e1a97f on d21d3q:bugfix/synchronize-write into 6f2cd7f83c76ff60aeb800bd59d397d38d52b8f3 on beerfactory:master.