don't consider EOF on the interlogger connection as error
authorAleš Křenek <ljocha@ics.muni.cz>
Thu, 1 Dec 2005 16:29:16 +0000 (16:29 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Thu, 1 Dec 2005 16:29:16 +0000 (16:29 +0000)
org.glite.lb.server/src/stored_master.c

index 5bb33f4..c2ca48d 100644 (file)
@@ -58,6 +58,8 @@ int edg_wll_StoreProto(edg_wll_Context ctx)
 
        edg_wll_ResetError(ctx);
        ret = read_il_data(ctx, &buf, gss_reader);
+       if (ret == EDG_WLL_GSS_ERROR_EOF) 
+         return edg_wll_SetError(ctx,ENOTCONN,"client side");
        if(ret < 0) 
          return edg_wll_SetError(ctx,EIO,"interlogger protocol");