]> granicus.if.org Git - apache/commit
Support IPv6 link-local scope IDs in Listen and VirtualHost, if built
authorJoe Orton <jorton@apache.org>
Wed, 29 Nov 2017 09:07:48 +0000 (09:07 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 29 Nov 2017 09:07:48 +0000 (09:07 +0000)
commit42b3eabb308df0c4da640ee2f6654f0a37181138
tree94d8f2d19be43d6a69721519e370b208426d752f
parentb75ebb4f847eff40eb7cc9859fa6346d6ec437aa
Support IPv6 link-local scope IDs in Listen and VirtualHost, if built
with APR 1.7 or later:

* server/listen.c (match_address): New function, factored out from
  find_listeners.
  (find_listeners): Use it; add scope and temp pool arguments.
  (alloc_listener): Take scope_id and pool arguments and pass through;
  set zone for addresses if present.
  (ap_set_listener): Pass through temp pool and scope id.

* server/vhost.c (get_addresses): Set zone for vhost address if
  present.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1816609 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
server/listen.c
server/vhost.c