[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [OSSTEST PATCH] ms-queuedaemon: Do not spin if client input is delayed/truncated
On Tue, 2015-10-20 at 18:26 +0100, Ian Jackson wrote: > chan-read-data would spin if `read' returns early because of > nonblocking mode. > > Check whether the return value is the empty string (which can only > happen on eof or nonblocking lack of data, and we checked eof just > before), and if so, simply return. The fileevent remains set up so we > will be called again when more data arrives. > > (Deployment/testing note: this change is currently live in Cambridge, > as I cowboyed it directly into ~osstest/daemons-testing.git, on > observing this misbehaviour.) > > Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |