]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Stop leaking sockets. This is a minimal leak, but it was there.
authorRyan Bloom <rbb@apache.org>
Sun, 7 Jan 2001 05:51:23 +0000 (05:51 +0000)
committerRyan Bloom <rbb@apache.org>
Sun, 7 Jan 2001 05:51:23 +0000 (05:51 +0000)
commitab328cf0f31d1ca4b80cc83d423eb68545a1e3a9
tree1dbb15944efe80520ef854f37ee4c859491805b7
parent644cc2eefc50c1566b610fb07d0174bc1de51168
Stop leaking sockets.  This is a minimal leak, but it was there.
Basically, we were creating a socket_t, but never assigning a port or
IP address to it.  We then re-read the config file, and search the
list of allocated sockets for the socket that we have already allocated
for this port, but we never find the port and address, because we never
stored them in the socket_t.  This was keeping the Listen directive from
working properly.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87601 13f79535-47bb-0310-9956-ffa450edef68
server/listen.c