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

Re: [libvirt] [PATCH] rpc: Don't close connection if program is unknown



On Fri, Aug 26, 2011 at 09:17:50 -0600, Eric Blake wrote:
> On 08/26/2011 09:11 AM, Jiri Denemark wrote:
> > In case we add a new program in the future (we did that in the past and
> > we are going to do it again soon) current daemon will behave badly with
> > new client that wants to use the new program. Before the RPC rewrite we
> > used to just sent an error reply to any request with unknown program.
> 
> s/sent/send/
> 
> > With the RPC rewrite in 0.9.3 the daemon just closes the connection
> > through which such request was sent. This patch fixes this regression.
> > ---
> >   src/rpc/virnetserver.c        |   18 +++++++++---------
> >   src/rpc/virnetserverprogram.c |   36 ++++++++++++++++++++++++++++++------
> >   src/rpc/virnetserverprogram.h |    4 ++++
> >   3 files changed, 43 insertions(+), 15 deletions(-)
> 
> ACK.

Pushed with the typo fixed, thanks.

Jirka


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