diff options
| -rw-r--r-- | src/gnutls_hooks.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c index 3fa7041..e671a60 100644 --- a/src/gnutls_hooks.c +++ b/src/gnutls_hooks.c | |||
| @@ -686,6 +686,10 @@ int mgs_hook_pre_connection(conn_rec * c, void *csd) | |||
| 686 | return DECLINED; | 686 | return DECLINED; |
| 687 | } | 687 | } |
| 688 | 688 | ||
| 689 | if(c->remote_addr->hostname) | ||
| 690 | /* Connection initiated by Apache (mod_proxy) => ignore */ | ||
| 691 | return OK; | ||
| 692 | |||
| 689 | ctxt = create_gnutls_handle(c->pool, c); | 693 | ctxt = create_gnutls_handle(c->pool, c); |
| 690 | 694 | ||
| 691 | ap_set_module_config(c->conn_config, &gnutls_module, ctxt); | 695 | ap_set_module_config(c->conn_config, &gnutls_module, ctxt); |
