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
Please register or sign in to comment