sonic_client
sonic_client copied to clipboard
fix #1 bug
sonic-server now is v1.2.3. Original code adapt server version 1.1.8. when send query command, server response with PENDING and then return EVENT QUEY xxxxx. Original code has some bug for process this condition.
- BufferedReader.read_line in poll() will miss EVENT QUEY xxxxx in the condition that server return two lines data.
receiver.recv()in query fn has race conditions , cause cannot process EVENT QUEY xxxxx. and process hang.- add docker script for test.