axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billblo...@apache.org
Subject svn commit: r1830655 - /axis/axis2/c/core/trunk/test/cutest/include/cut_http_server.h
Date Tue, 01 May 2018 06:00:45 GMT
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;
 }



Mime
View raw message