axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r369430 - /webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c
Date Mon, 16 Jan 2006 10:35:30 GMT
Author: samisa
Date: Mon Jan 16 02:35:26 2006
New Revision: 369430

URL: http://svn.apache.org/viewcvs?rev=369430&view=rev
Log:
Fixed some bugs

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=369430&r1=369429&r2=369430&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 Mon Jan
16 02:35:26 2006
@@ -81,10 +81,16 @@
 	}
     
 	svr_thread_impl->worker = NULL;
-	svr_thread_impl->listen_socket = -1;
 	svr_thread_impl->stopped = AXIS2_FALSE;
 	svr_thread_impl->port = port;
-	
+	svr_thread_impl->listen_socket = axis2_network_handler_create_server_socket
+                        (env, svr_thread_impl->port);
+    if(-1 == svr_thread_impl->listen_socket)
+    {
+        axis2_http_svr_thread_free((axis2_http_svr_thread_t*) svr_thread_impl,
+                        env);
+        return NULL;
+    }	
     svr_thread_impl->svr_thread.ops = AXIS2_MALLOC((*env)->allocator,
 						sizeof(axis2_http_svr_thread_ops_t));
     if(NULL == svr_thread_impl->svr_thread.ops)



Mime
View raw message