]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy: Follow up to r1918412 and r1918429: Special case WIN32/OS2 only.
authorYann Ylavic <ylavic@apache.org>
Wed, 19 Jun 2024 13:20:12 +0000 (13:20 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 19 Jun 2024 13:20:12 +0000 (13:20 +0000)
commit6990550415e0801c8e73fa961036888ba1907fc1
tree44e09d4bb2b44c7d18a2f6436c0266ddeb25079a
parentae50c48f553773d6e4367085b5b0016b31e23221
mod_proxy: Follow up to r1918412 and r1918429: Special case WIN32/OS2 only.

apr_socket_connect() on unixes does copy the passed in *addr, so limit the
liefetime workaround to Windows and OS/2 only (which don't).

* modules/proxy/proxy_util.c(ap_proxy_determine_address):
  #ifdef the relevant code for WIN32/OS2 only, and improve comment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918438 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/proxy_util.c