Re: [PATCH v2] ServerClient: Flush cached data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 01, 2011 at 14:49:46 +0000, Daniel P. Berrange wrote:
> On Tue, Nov 01, 2011 at 03:46:06PM +0100, Jiri Denemark wrote:
> > From: Michal Privoznik <mprivozn@xxxxxxxxxx>
> > 
> > If daemon is using SASL it reads client data into a cache. This cache is
> > big (usually 65KB) and can thus contain 2 or more messages. However,
> > on socket event we can dispatch only one message. So if we read two
> > messages at once, the second will not be dispatched as the socket event
> > goes away with filling the cache.
> > Moreover, when dispatching the cache we need to remember to take care
> > of client max requests limit.
> > ---
> >  src/rpc/virnetserverclient.c |   29 ++++++++++++++++++++++++++++-
> >  1 files changed, 28 insertions(+), 1 deletions(-)
...
> ACK this looks good

Pushed, thanks,

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]