Return-Path: Delivered-To: apmail-ws-axis-cvs-archive@www.apache.org Received: (qmail 38249 invoked from network); 2 Mar 2006 05:56:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Mar 2006 05:56:42 -0000 Received: (qmail 54200 invoked by uid 500); 2 Mar 2006 05:57:23 -0000 Delivered-To: apmail-ws-axis-cvs-archive@ws.apache.org Received: (qmail 54135 invoked by uid 500); 2 Mar 2006 05:57:23 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 54120 invoked by uid 500); 2 Mar 2006 05:57:23 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 54117 invoked by uid 99); 2 Mar 2006 05:57:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 21:57:23 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 01 Mar 2006 21:57:22 -0800 Received: (qmail 38059 invoked by uid 65534); 2 Mar 2006 05:56:15 -0000 Message-ID: <20060302055615.38055.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r382305 - /webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c Date: Thu, 02 Mar 2006 05:56:14 -0000 To: axis2-cvs@ws.apache.org From: sahan@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: sahan Date: Wed Mar 1 21:56:10 2006 New Revision: 382305 URL: http://svn.apache.org/viewcvs?rev=382305&view=rev Log: ignoring the sigpipe in threads Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c?rev=382305&r1=382304&r2=382305&view=diff ============================================================================== --- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c (original) +++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c Wed Mar 1 21:56:10 2006 @@ -23,6 +23,7 @@ #include #include #include +#include @@ -291,8 +292,13 @@ axis2_socket_t socket; axis2_env_t *thread_env = NULL; axis2_http_svr_thd_args_t *arg_list = NULL; - - + +#ifndef WIN32 +#ifdef AXIS2_SVR_MULTI_THREADED + signal(SIGPIPE, SIG_IGN); +#endif +#endif + arg_list = (axis2_http_svr_thd_args_t*)data; if(NULL == arg_list) {