[ovs-git] [openvswitch/ovs] 8984b8: python: Fix decoding error when the received data ...

GitHub noreply at github.com
Fri Mar 9 19:29:24 UTC 2018

  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 8984b8034947f98d763b127f618a1db2dd0e6ddb
  Author: Guoshuai Li <ligs at dtdream.com>
  Date:   2018-03-09 (Fri, 09 Mar 2018)

  Changed paths:
    M python/ovs/jsonrpc.py
    M tests/ovsdb-idl.at

  Log Message:
  python: Fix decoding error when the received data is larger than 4096.

It can only receive 4096 bytes of data each time in jsonrpc,
when there are similar and Chinese characters occupy multiple bytes,
it may receive half a character, this time the decoding will be abnormal.
We need to receive the completed character to decode.

Signed-off-by: Guoshuai Li <ligs at dtdream.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list