diff options
author | Ryan Bloom <rbb@apache.org> | 2000-04-26 18:25:53 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-04-26 18:25:53 +0000 |
commit | f7120ebdf8d6cf34227182c258cec02a0f55a56e (patch) | |
tree | a7f6261dc7e30369f5c48931b29d1a8dd41f03cd /include/arch/unix/networkio.h | |
parent | 79bb9cde8d4c987e422a7ed850d5afd810c17bd8 (diff) | |
download | apr-f7120ebdf8d6cf34227182c258cec02a0f55a56e.tar.gz |
Fix the ap_poll implementation on Unix. This stops us from re-allocating
the pollfd each time ap_poll is called.
Submitted by: Chia-liang Kao (clkao@CirX.ORG)
Reviewed by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59956 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch/unix/networkio.h')
-rw-r--r-- | include/arch/unix/networkio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/arch/unix/networkio.h b/include/arch/unix/networkio.h index 8c6fc3309..9880b0431 100644 --- a/include/arch/unix/networkio.h +++ b/include/arch/unix/networkio.h @@ -121,7 +121,8 @@ struct ap_socket_t { struct ap_pollfd_t { ap_pool_t *cntxt; #ifdef HAVE_POLL - int *sock; + struct pollfd *pollset; + int num; int curpos; #else fd_set *read; |