aboutsummaryrefslogtreecommitdiffstats
path: root/m4/mod_ftpd_providers.m4
diff options
context:
space:
mode:
authorGravatar Nokis Mavrogiannopoulos 2009-01-04 15:52:40 +0000
committerGravatar Nokis Mavrogiannopoulos 2009-01-04 15:52:40 +0000
commit8862f2951622032c3b4517ff14e36e4043e84a35 (patch)
treedfc55e4974593b4e6adae806529705791872daf1 /m4/mod_ftpd_providers.m4
parent336c77fbe353fc2aa8d247571e08b754365f94f7 (diff)
Added patch to fix issue with mod_proxy. Investigation and patch by Alain Knaff.
It seems that the reason for this behavior is that the mgs_hook_pre_connection is being called both for incoming and outgoing (mod_proxy) connections. The attached patch (mod_proxy.patch) tries to find out in which case we are, and returns OK without doing anything if it is an outgoing connection. The method of telling both cases apart (namely, checking whether remote address' hostname is set) may seem somewhat hackish, but it does work, even if HostnameLookups is set to On. If ever there is a problem with this method, we might need to check local port instead (whether it is 443), but that would break if a non-standard https port was used.
Diffstat (limited to 'm4/mod_ftpd_providers.m4')
0 files changed, 0 insertions, 0 deletions