|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] libxl/libxl_qmp.c: Fix code style in qmp_next()
On 12/23/2016 07:44 PM, Wei Liu wrote: On Fri, Dec 23, 2016 at 11:16:58AM +0800, Zhang Chen wrote: [...]+Here, as I understand it, read can return incomplete message. For example, when the buffer is not big enough. And the inner loop in original code handles that by checking if there is "\r\n". If not, it will read from the socket again. So I'm afraid this patch is not correct. Please point out if there is anything I missed. OK, I got your points, I will send next version just about text-indent. Thanks Zhang Chen Wei.If yes, I will fix this in next version. Thanks Zhang ChenWei. .-- Thanks Zhang Chen. -- Thanks Zhang Chen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |