]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4231 pt2: comm_open_uds does not provide description for newly opened FD
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 23 Apr 2015 11:44:47 +0000 (04:44 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 23 Apr 2015 11:44:47 +0000 (04:44 -0700)
Thanks to Alex Dowad for identifying the problem.

src/comm.cc

index 68d9a200a9707a7a5c9872e6832d14d1cc4bc98c..89786f57f05b4fdb3921f5b493193f536e1e2ef5 100644 (file)
@@ -1894,7 +1894,7 @@ comm_open_uds(int sock_type,
     debugs(50, 5, HERE << "FD " << new_socket << " is a new socket");
 
     assert(!isOpen(new_socket));
-    fd_open(new_socket, FD_MSGHDR, NULL);
+    fd_open(new_socket, FD_MSGHDR, addr->sun_path);
 
     fdd_table[new_socket].close_file = NULL;