Changeset 60cf11c in mod_gnutls for src/gnutls_hooks.c
- Timestamp:
- Jul 8, 2011, 5:04:16 PM (8 years ago)
- Branches:
- debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
- Children:
- 8fffed1
- Parents:
- b4a875b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_hooks.c
rb4a875b r60cf11c 739 739 _gnutls_log(debug_log_fp, "%s: %d\n", __func__, __LINE__); 740 740 741 if (c == NULL) 742 return DECLINED; 741 if (c == NULL) { 742 return DECLINED; 743 } 743 744 744 745 sc = (mgs_srvconf_rec *) ap_get_module_config(c->base_server-> … … 750 751 } 751 752 752 if (c->remote_addr->hostname) 753 /* Connection initiated by Apache (mod_proxy) => ignore */ 754 return OK; 755 753 if (c->remote_addr->hostname || apr_strnatcmp(c->remote_ip,c->local_ip) == 0) { 754 /* Connection initiated by Apache (mod_proxy) => ignore */ 755 return OK; 756 } 757 756 758 ctxt = create_gnutls_handle(c->pool, c); 757 759
Note: See TracChangeset
for help on using the changeset viewer.