diff options
author | pquerna <pquerna@13f79535-47bb-0310-9956-ffa450edef68> | 2004-12-11 09:45:06 +0000 |
---|---|---|
committer | pquerna <pquerna@13f79535-47bb-0310-9956-ffa450edef68> | 2004-12-11 09:45:06 +0000 |
commit | 325cb415d1588a1a43761c3cb0ddd6fa34c889da (patch) | |
tree | fa6d1a43132539e815001bcb56a2866d391ef5ee /include | |
parent | 27ba830957e2ede777f19c6390ab7e6d9d445794 (diff) | |
download | libapr-325cb415d1588a1a43761c3cb0ddd6fa34c889da.tar.gz |
Add support for Linux's TCP_DEFER_ACCEPT. Sort of like FreeBSD's accept filters, except defer accept isn't documented, anywhere.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@111595 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/apr_network_io.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/apr_network_io.h b/include/apr_network_io.h index 3e1475229..97c18330d 100644 --- a/include/apr_network_io.h +++ b/include/apr_network_io.h @@ -94,6 +94,10 @@ extern "C" { #define APR_IPV6_V6ONLY 16384 /**< Don't accept IPv4 connections on an * IPv6 listening socket. */ +#define APR_TCP_DEFER_ACCEPT 32768 /**< Delay accepting of new connections + * until data is available. + * @see apr_socket_accept_filter + */ /** @} */ |