minfrin commented on a change in pull request #382:
URL: https://github.com/apache/tomcat/pull/382#discussion_r532682814



##########
File path: java/org/apache/tomcat/util/net/AbstractEndpoint.java
##########
@@ -568,6 +569,14 @@ public final int getLocalPort() {
     protected abstract InetSocketAddress getLocalAddress() throws IOException;
 
 
+    /**
+     * Address for the unix domain socket.
+     */
+    private Path path;

Review comment:
       The underlying API uses "path" as the reference to file that will become 
the socket:
   
   https://linux.die.net/man/7/unix
   
   ```
   #define UNIX_PATH_MAX    108
   
   struct sockaddr_un {
       sa_family_t sun_family;               /* AF_UNIX */
       char        sun_path[UNIX_PATH_MAX];  /* pathname */
   };
   ```
   
   Naming it something else introduces new/inconsistent terminology.
   




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to