You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by bi...@apache.org on 2018/05/01 06:00:45 UTC

svn commit: r1830655 - /axis/axis2/c/core/trunk/test/cutest/include/cut_http_server.h

Author: billblough
Date: Tue May  1 06:00:45 2018
New Revision: 1830655

URL: http://svn.apache.org/viewvc?rev=1830655&view=rev
Log:
Fix shutdown hang on http_client test

Modified:
    axis/axis2/c/core/trunk/test/cutest/include/cut_http_server.h

Modified: axis/axis2/c/core/trunk/test/cutest/include/cut_http_server.h
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/test/cutest/include/cut_http_server.h?rev=1830655&r1=1830654&r2=1830655&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/test/cutest/include/cut_http_server.h (original)
+++ axis/axis2/c/core/trunk/test/cutest/include/cut_http_server.h Tue May  1 06:00:45 2018
@@ -197,6 +197,7 @@ static int ut_start_http_server(axutil_e
     thread_http_server = axutil_thread_create(env->allocator, NULL, http_server, NULL);
     EXPECT_NE(thread_http_server, nullptr);
     if (!thread_http_server) return -1;
+    axutil_thread_detach(thread_http_server);
     AXIS2_SLEEP(2);
 	return 0;
 }