Teddy Hogeborn <[email protected]> writes: > I have realized (and attached) this patch, which worked for me to fix > this bug.
Yeah, that patch was reversed. Fixed version attached. /Teddy Hogeborn
pgpjDLLsWYGv3.pgp
Description: PGP signature
--- mod-gnutls-0.5.6.~1~/src/gnutls_hooks.c 2010-03-17 16:39:34.000000000 +0100
+++ mod-gnutls-0.5.6/src/gnutls_hooks.c 2011-06-11 04:25:21.521191493 +0200
@@ -686,7 +686,8 @@
return DECLINED;
}
- if(c->remote_addr->hostname)
+ if(c->remote_addr->hostname ||
+ apr_strnatcmp(c->remote_ip,c->local_ip) == 0)
/* Connection initiated by Apache (mod_proxy) => ignore */
return OK;
pgp0yXiB2pE1d.pgp
Description: PGP signature

