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

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


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: 9162bb6525869182bfa94512211d66377446a78f
      https://github.com/openvswitch/ovs/commit/9162bb6525869182bfa94512211d66377446a78f
  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