[phodav] spice: keep reading from mux on client error



commit 518e7162d4dde79e96ed0b106ac049539caad711
Author: Jakub Janků <jjanku redhat com>
Date:   Sun Aug 4 14:13:09 2019 +0200

    spice: keep reading from mux on client error
    
    If one client fails, spice-webdav can still serve the others,
    but it must keep reading from the mux stream.
    
    With the current implementation, the return statement
    does not cause any issues, but let's fix this anyway.
    
    Signed-off-by: Jakub Janků <jjanku redhat com>

 spice/spice-webdavd.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/spice/spice-webdavd.c b/spice/spice-webdavd.c
index 5a39d79..9321cb6 100644
--- a/spice/spice-webdavd.c
+++ b/spice/spice-webdavd.c
@@ -231,7 +231,6 @@ mux_pushed_client_cb (OutputQueue *q, gpointer user_data, GError *error)
 {
   if (error) {
     handle_push_error (q, user_data, error);
-    return;
   }
 
   start_mux_read (mux_istream);


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