You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2021/12/16 11:22:29 UTC

svn commit: r1896041 - /httpd/httpd/trunk/test/modules/proxy/test_02_unix.py

Author: icing
Date: Thu Dec 16 11:22:29 2021
New Revision: 1896041

URL: http://svn.apache.org/viewvc?rev=1896041&view=rev
Log:
  *) test: modules/proxy, make uds faker a daemon thread, so it does not 
     prevent test shutdown.


Modified:
    httpd/httpd/trunk/test/modules/proxy/test_02_unix.py

Modified: httpd/httpd/trunk/test/modules/proxy/test_02_unix.py
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/test/modules/proxy/test_02_unix.py?rev=1896041&r1=1896040&r2=1896041&view=diff
==============================================================================
--- httpd/httpd/trunk/test/modules/proxy/test_02_unix.py (original)
+++ httpd/httpd/trunk/test/modules/proxy/test_02_unix.py Thu Dec 16 11:22:29 2021
@@ -27,7 +27,7 @@ class UDSFaker:
                 raise
         self._socket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
         self._socket.bind(self._uds_path)
-        self._thread = Thread(target=process, args=[self])
+        self._thread = Thread(target=process, daemon=True, args=[self])
         self._thread.start()
 
     def stop(self):