Changeset 2ceb836 in mod_gnutls
- Timestamp:
- Nov 20, 2015, 7:37:15 PM (7 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, proxy-ticket, upstream
- Children:
- a2368a4
- Parents:
- 401a0de
- git-author:
- Thomas Klute <thomas2.klute@…> (11/20/15 19:33:57)
- git-committer:
- Thomas Klute <thomas2.klute@…> (11/20/15 19:37:15)
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_hooks.c
r401a0de r2ceb836 694 694 } 695 695 696 /* 696 /** 697 697 * This function is intended as a cleanup handler for connections 698 * using GnuTLS. 698 * using GnuTLS. If attached to the connection pool, it ensures that 699 * session resources are released with the connection pool even if the 700 * session wasn't terminated properly. 699 701 * 700 702 * @param data must point to the mgs_handle_t associated with the … … 711 713 if (ctxt->session != NULL) 712 714 { 715 ap_log_cerror(APLOG_MARK, APLOG_WARNING, APR_ECONNABORTED, ctxt->c, 716 "%s: connection pool cleanup in progress but %sTLS " 717 "session hasn't been terminated, trying to close", 718 __func__, IS_PROXY_STR(ctxt)); 713 719 int ret; 714 720 /* Try A Clean Shutdown */ … … 717 723 while (ret == GNUTLS_E_INTERRUPTED || ret == GNUTLS_E_AGAIN); 718 724 if (ret != GNUTLS_E_SUCCESS) 719 ap_log_cerror(APLOG_MARK, APLOG_INFO, ret, ctxt->c,725 ap_log_cerror(APLOG_MARK, APLOG_INFO, APR_EGENERAL, ctxt->c, 720 726 "%s: error while closing TLS %sconnection: %s (%d)", 721 727 __func__, IS_PROXY_STR(ctxt), 722 728 gnutls_strerror(ret), ret); 723 729 else 724 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, ret, ctxt->c,730 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, ctxt->c, 725 731 "%s: TLS %sconnection closed.", 726 732 __func__, IS_PROXY_STR(ctxt)); -
src/gnutls_io.c
r401a0de r2ceb836 513 513 } while (ret == GNUTLS_E_INTERRUPTED || ret == GNUTLS_E_AGAIN); 514 514 if (ret != GNUTLS_E_SUCCESS) 515 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, ctxt->c,515 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, APR_EGENERAL, ctxt->c, 516 516 "%s: Error while closing TLS %sconnection: " 517 517 "'%s' (%d)", … … 519 519 gnutls_strerror(ret), (int) ret); 520 520 else 521 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, ctxt->c,521 ap_log_cerror(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, ctxt->c, 522 522 "%s: TLS %sconnection closed.", 523 523 __func__, IS_PROXY_STR(ctxt));
Note: See TracChangeset
for help on using the changeset viewer.