diff options
author | Joe Orton <jorton@apache.org> | 2020-06-23 08:45:07 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2020-06-23 08:45:07 +0000 |
commit | 2f9cba2ad01a6dda48d19da475fea72ca3637104 (patch) | |
tree | 401e31110a3df9d3d23367f3f42f9d810b18d215 /include | |
parent | 1b4468534f9896b011650fc3fc9c10e2618dc3aa (diff) | |
download | httpd-2f9cba2ad01a6dda48d19da475fea72ca3637104.tar.gz |
Add "v6only" Listen option to enable IPV6_V6ONLY in v4mapped builds
where it is otherwise always disabled.
* include/ap_listen.h: Define AP_LISTEN_V6ONLY.
* server/listen.c (make_sock): Set v6only_setting to 1 if
AP_LISTEN_V6ONLY flag is set for the listener.
(parse_listen_flags): Parse "v6only" flag.
PR: 54878
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879106 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/ap_listen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ap_listen.h b/include/ap_listen.h index 2329cae70c..1f151f98a4 100644 --- a/include/ap_listen.h +++ b/include/ap_listen.h @@ -42,6 +42,7 @@ typedef apr_status_t (*accept_function)(void **csd, ap_listen_rec *lr, apr_pool_ #define AP_LISTEN_SPECIFIC_ERRORS (0x0001) #define AP_LISTEN_FREEBIND (0x0002) #define AP_LISTEN_REUSEPORT (0x0004) +#define AP_LISTEN_V6ONLY (0x0008) /** * @brief Apache's listeners record. |