[ovs-dev] [PATCH v4] python: Fix decoding error when the received data is larger than 4096.
Ben Pfaff
blp at ovn.org
Fri Mar 9 19:29:58 UTC 2018
On Thu, Mar 01, 2018 at 02:27:37PM +0800, Guoshuai Li wrote:
> 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>
Thank you. This is a very simple, clean change! I applied this to
master and backported as far as branch-2.7.
More information about the dev
mailing list