Changeset 60cf11c in mod_gnutls
- Timestamp:
- Jul 8, 2011, 5:04:16 PM (12 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, msva, proxy-ticket, upstream
- Children:
- 8fffed1
- Parents:
- b4a875b
- Location:
- src
- Files:
-
- 2 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 -
src/gnutls_io.c
rb4a875b r60cf11c 667 667 668 668 /* If Len = 0, we don't do anything. */ 669 if (!len )670 671 669 if (!len || buffer == NULL) { 670 return 0; 671 } 672 672 if (!ctxt->input_bb) { 673 673 ctxt->input_rc = APR_EOF;
Note: See TracChangeset
for help on using the changeset viewer.