Changes in / [e809a17a:7677448] in mod_gnutls
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
.github/workflows/analysis.yaml
re809a17a r7677448 13 13 - '!doc/**' 14 14 - '!**.md' 15 16 permissions: 17 contents: read 18 security-events: write 15 19 16 20 jobs: -
.github/workflows/build.yaml
re809a17a r7677448 8 8 - 'debian/**' 9 9 - 'pristine-tar' 10 11 permissions: 12 contents: read 13 10 14 jobs: 11 15 build: -
.github/workflows/valgrind.yaml
re809a17a r7677448 12 12 - '!doc/**' 13 13 - '!**.md' 14 15 permissions: 16 contents: read 17 14 18 jobs: 15 19 debian-buster: -
src/gnutls_hooks.c
re809a17a r7677448 1100 1100 /* check if session needs closing */ 1101 1101 mgs_handle_t *ctxt = (mgs_handle_t *) data; 1102 if (ctxt->session != NULL) 1102 if (ctxt->session == NULL) 1103 return APR_SUCCESS; 1104 1105 if (ctxt->c->aborted) 1106 { 1107 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, ctxt->c, 1108 "%s: TLS %sconnection aborted, cleaning up.", 1109 __func__, IS_PROXY_STR(ctxt)); 1110 } 1111 else 1103 1112 { 1104 1113 ap_log_cerror(APLOG_MARK, APLOG_WARNING, APR_ECONNABORTED, ctxt->c, … … 1112 1121 while (ret == GNUTLS_E_INTERRUPTED || ret == GNUTLS_E_AGAIN); 1113 1122 if (ret != GNUTLS_E_SUCCESS) 1114 ap_log_cerror(APLOG_MARK, APLOG_ INFO, APR_EGENERAL, ctxt->c,1123 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, APR_EGENERAL, ctxt->c, 1115 1124 "%s: error while closing TLS %sconnection: %s (%d)", 1116 1125 __func__, IS_PROXY_STR(ctxt), … … 1120 1129 "%s: TLS %sconnection closed.", 1121 1130 __func__, IS_PROXY_STR(ctxt)); 1122 /* De-Initialize Session */ 1123 gnutls_deinit(ctxt->session); 1124 ctxt->session = NULL; 1125 } 1131 } 1132 1133 /* De-Initialize Session */ 1134 gnutls_deinit(ctxt->session); 1135 ctxt->session = NULL; 1126 1136 return APR_SUCCESS; 1127 1137 } -
src/gnutls_io.c
re809a17a r7677448 254 254 } else if (rc == GNUTLS_E_REHANDSHAKE) { 255 255 /* A client has asked for a new Hankshake. Currently, we don't do it */ 256 ap_log_cerror(APLOG_MARK, APLOG_ INFO,256 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 257 257 ctxt->input_rc, 258 258 ctxt->c, … … 262 262 } else if (rc == GNUTLS_E_WARNING_ALERT_RECEIVED) { 263 263 rc = gnutls_alert_get(ctxt->session); 264 ap_log_cerror(APLOG_MARK, APLOG_ INFO,264 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 265 265 ctxt->input_rc, 266 266 ctxt->c, … … 270 270 } else if (rc == GNUTLS_E_FATAL_ALERT_RECEIVED) { 271 271 rc = gnutls_alert_get(ctxt->session); 272 ap_log_cerror(APLOG_MARK, APLOG_ INFO,272 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 273 273 ctxt->input_rc, 274 274 ctxt->c, … … 281 281 /* Some Other Error. Report it. Die. */ 282 282 if (gnutls_error_is_fatal(rc)) { 283 ap_log_cerror(APLOG_MARK, 284 APLOG_INFO, 285 ctxt->input_rc, 286 ctxt->c, 287 "GnuTLS: Error reading data. (%d) '%s'", 288 rc, 289 gnutls_strerror(rc)); 283 ap_log_cerror( 284 APLOG_MARK, APLOG_DEBUG, 285 ctxt->input_rc, 286 ctxt->c, 287 "GnuTLS: Error reading data. (%d) '%s'", 288 rc, gnutls_strerror(rc)); 290 289 } else if (*len > 0) { 291 290 ctxt->input_rc = APR_SUCCESS; … … 778 777 if (ret < 0) { 779 778 /* error sending output */ 780 ap_log_cerror(APLOG_MARK, APLOG_ INFO, ctxt->output_rc,779 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, ctxt->output_rc, 781 780 ctxt->c, 782 781 "GnuTLS: Error writing data. (%d) '%s'",
Note: See TracChangeset
for help on using the changeset viewer.