summaryrefslogtreecommitdiff
path: root/modules/proxy
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2022-02-20 15:08:30 +0000
committerChristophe Jaillet <jailletc36@apache.org>2022-02-20 15:08:30 +0000
commit0050cc5c5a9c2e935ed65a2ca33901cf9e60e560 (patch)
tree25d1ae8a2c5f34e337010f485a9ec6603d8dda42 /modules/proxy
parente4d2c5e208dac305d7e4ed24bae7446e51cc6f2a (diff)
downloadhttpd-0050cc5c5a9c2e935ed65a2ca33901cf9e60e560.tar.gz
Remove some APR 0.x stuff.
The minimum supported version is 1.3 in 2.4.x git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898255 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy')
-rw-r--r--modules/proxy/mod_proxy_ftp.c5
-rw-r--r--modules/proxy/proxy_util.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/modules/proxy/mod_proxy_ftp.c b/modules/proxy/mod_proxy_ftp.c
index 7df4a26f32..0dc3917c85 100644
--- a/modules/proxy/mod_proxy_ftp.c
+++ b/modules/proxy/mod_proxy_ftp.c
@@ -23,11 +23,6 @@
#endif
#include "apr_version.h"
-#if (APR_MAJOR_VERSION < 1)
-#undef apr_socket_create
-#define apr_socket_create apr_socket_create_ex
-#endif
-
#define AUTODETECT_PWD
/* Automatic timestamping (Last-Modified header) based on MDTM is used if:
* 1) the FTP server supports the MDTM command and
diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c
index 73567c2281..1cc275e18c 100644
--- a/modules/proxy/proxy_util.c
+++ b/modules/proxy/proxy_util.c
@@ -31,11 +31,6 @@
#include <unistd.h> /* for getpid() */
#endif
-#if (APR_MAJOR_VERSION < 1)
-#undef apr_socket_create
-#define apr_socket_create apr_socket_create_ex
-#endif
-
#if APR_HAVE_SYS_UN_H
#include <sys/un.h>
#endif