Am 2021-06-30 um 17:45 schrieb [email protected]:
This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
      new d2ef158  Portable temp path code
d2ef158 is described below

commit d2ef158945a4aca00dc06900c65c059cbb66c410
Author: remm <[email protected]>
AuthorDate: Wed Jun 30 17:45:20 2021 +0200

     Portable temp path code
---
  test/org/apache/tomcat/util/net/TestXxxEndpoint.java | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/org/apache/tomcat/util/net/TestXxxEndpoint.java 
b/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
index 653e751..efc4dd1 100644
--- a/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
+++ b/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
@@ -213,7 +213,9 @@ public class TestXxxEndpoint extends TomcatBaseTest {
                  c.getProtocolHandlerClassName().contains("NioProtocol")
                  && JreCompat.isJre16Available());
- final String unixDomainSocketPath = "/tmp/testUnixDomainSocket";
+        File tempPath = File.createTempFile("tomcat", ".uds");

The common extension for UDS is actually '.sock'

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to