]> granicus.if.org Git - apache/commit
Clear the output socket descriptor in unixd_accept() to make sure
authorBrian Pane <brianp@apache.org>
Sun, 13 Jan 2002 02:35:56 +0000 (02:35 +0000)
committerBrian Pane <brianp@apache.org>
Sun, 13 Jan 2002 02:35:56 +0000 (02:35 +0000)
commitd5dbe606e3bea07a976d08e1856a91830528d5b4
tree98529fa32c919e763317c41393a2e93c50d3330f
parentc42eed1493aa731fed22763a2662a693d4fe4f5c
Clear the output socket descriptor in unixd_accept() to make sure
we don't supply a bogus socket to the caller if the accept fails.
(This was causing problems in the worker MPM, which tried to process
the returned socket if it was non-NULL, even if unixd_accept()
returned an error.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92837 13f79535-47bb-0310-9956-ffa450edef68
os/unix/unixd.c