diff options
author | Jeff Trawick <trawick@apache.org> | 2000-04-16 16:59:39 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2000-04-16 16:59:39 +0000 |
commit | 30514c7907998dd5905ec8d1a8e51cee34aec331 (patch) | |
tree | 432707f2d6c9ec82808aa99a723495708970a476 /include/arch/unix/networkio.h | |
parent | 8d7cc60c98970f66eccdc57ec29d10d855a099b7 (diff) | |
download | apr-30514c7907998dd5905ec8d1a8e51cee34aec331.tar.gz |
APR_SO_TIMEOUT now takes microseconds instead of seconds. (The new
CHANGES text also reflects prior work on ap_poll() and
ap_set_pipe_timeout()).
apr/test/client.c now has a crude command-line mechanism for selecting
a read timeout.
Included bug fixes:
1) Some storage leaks were removed in BeOS and Unix select() usage.
2) For Win32, the code to process APR_SO_TIMEOUT stored timeout in
milliseconds but the code to timeout a TransmitFile() in
ap_sendfile() assumed that it had been stored in seconds.
3) ab_apr.c used a 30,000-second timeout in one place. This was
changed to a 30-second timeout.
4) fix bad perldoc comment in apr_network_io.h which hid the
ap_shutdown() prototype
5) disable stdout buffering in apr/test/client.c so that messages
appear in the correct order when an error occurs
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59870 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch/unix/networkio.h')
-rw-r--r-- | include/arch/unix/networkio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/arch/unix/networkio.h b/include/arch/unix/networkio.h index 951c045a7..bfb08f854 100644 --- a/include/arch/unix/networkio.h +++ b/include/arch/unix/networkio.h @@ -112,7 +112,7 @@ struct ap_socket_t { struct sockaddr_in *local_addr; struct sockaddr_in *remote_addr; socklen_t addr_len; - int timeout; + ap_interval_time_t timeout; #ifndef HAVE_POLL int connected; #endif |