ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
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 GMT
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 <axis2_simple_http_svr_conn.h>
 #include <axis2_url.h>
 #include <axis2_error_default.h>
+#include <signal.h>
 
 
 
@@ -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)
 	{



Mime
View raw message