]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
In ap_bclose(), we always use ap_pclosesocket() when the fd
authorJim Jagielski <jim@apache.org>
Sun, 19 Oct 2003 18:00:35 +0000 (18:00 +0000)
committerJim Jagielski <jim@apache.org>
Sun, 19 Oct 2003 18:00:35 +0000 (18:00 +0000)
commitdf506811460e6b31c3d9ca08013d0bd785f8a613
treeac4b130c4e7cfc2d52bc07252f0cf57bfdc6866c
parentbd0b2805a3c0fbccf2256182ae4907b9edd10258
In ap_bclose(), we always use ap_pclosesocket() when the fd
points to a socket and ap_bclosef() it it's a file (we stay
aware of Windows handles however). Also, we stay consistent
and use closesocket() whenever we wish to close a socket
directly. For Unix, closesocket() is simply a macro define to
close, but it makes a big difference for other OSs.

PR: 22805
Obtained from:
Submitted by: bnicholes, jeff
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@101492 13f79535-47bb-0310-9956-ffa450edef68
STATUS
src/CHANGES
src/main/buff.c
src/main/http_main.c