diff options
author | Ivan Zhakov <ivan@apache.org> | 2022-01-20 14:27:19 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2022-01-20 14:27:19 +0000 |
commit | 011f944967c77b5608eaebf4cdc1947b7340d804 (patch) | |
tree | 713bdb8fb020d401680b99c9342207e997f8701c /include | |
parent | a484479e9e36e50fd870eb223c5043fa90211ea4 (diff) | |
download | apr-011f944967c77b5608eaebf4cdc1947b7340d804.tar.gz |
On 'win32-pollset-wakeup-no-file-socket-emulation' branch:
Remove code in win32 apr_file_t implementation that emulates working with
sockets as files. Sockets on Windows are not kernel objects and should be
used only via Winsock API.
* file_io/win32/readwrite.c
(): Do not include apr_arch_networkio.h.
(read_with_timeout): Remove APR_FILETYPE_SOCKET support code.
* include/arch/win32/apr_arch_file_io.h
(apr_filetype_e): Remove APR_FILETYPE_SOCKET enum value.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/win32-pollset-wakeup-no-file-socket-emulation@1897254 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/arch/win32/apr_arch_file_io.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/arch/win32/apr_arch_file_io.h b/include/arch/win32/apr_arch_file_io.h index 2bee5abc1..007459622 100644 --- a/include/arch/win32/apr_arch_file_io.h +++ b/include/arch/win32/apr_arch_file_io.h @@ -161,8 +161,7 @@ apr_status_t more_finfo(apr_finfo_t *finfo, const void *ufile, typedef enum { APR_FILETYPE_FILE = 0, - APR_FILETYPE_PIPE, - APR_FILETYPE_SOCKET + APR_FILETYPE_PIPE } apr_filetype_e; struct apr_file_t { |