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

Re: [libvirt] [PATCH v2] ServerClient: Flush cached data



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 redhat com>
> > 
> > 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


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