From f6715272e999ddae4bbcb5cfa2c98ad511b3fbf8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 21 May 2010 09:13:50 +0000 Subject: [PATCH] ecores --- src/arm/gnunet-service-manager.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/arm/gnunet-service-manager.c b/src/arm/gnunet-service-manager.c index 9c0fdcf5c..15992b9fc 100644 --- a/src/arm/gnunet-service-manager.c +++ b/src/arm/gnunet-service-manager.c @@ -401,7 +401,8 @@ forwardToClient (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) fc->service_to_client_bufferDataLength); if (numberOfBytesSent <= 0) { - if (errno != EPIPE) + if ( (errno != EPIPE) && + (errno != ECONNRESET) ) GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Failed to forward %u bytes of data to client: %s\n", fc->service_to_client_bufferDataLength, @@ -611,7 +612,8 @@ forwardToService (void *cls, } else { - if (errno != EPIPE) + if ( (errno != EPIPE) && + (errno != ECONNRESET) ) GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Failed to forward data to service: %s\n", STRERROR (errno)); -- 2.25.1