Changeset 2ceb836 in mod_gnutls for src/gnutls_io.c


Ignore:
Timestamp:
Nov 20, 2015, 7:37:15 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, 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)
Message:

Update log messages on session termination (cleanup_gnutls_session, mgs_bye)

  • Pass proper APR error codes to ap_log_cerror
  • Warn if a TLS session was not properly terminated by the filters (cleanup_gnutls_session only)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_io.c

    r401a0de r2ceb836  
    513513        } while (ret == GNUTLS_E_INTERRUPTED || ret == GNUTLS_E_AGAIN);
    514514        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,
    516516                          "%s: Error while closing TLS %sconnection: "
    517517                          "'%s' (%d)",
     
    519519                          gnutls_strerror(ret), (int) ret);
    520520        else
    521             ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, ctxt->c,
     521            ap_log_cerror(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, ctxt->c,
    522522                          "%s: TLS %sconnection closed.",
    523523                          __func__, IS_PROXY_STR(ctxt));
Note: See TracChangeset for help on using the changeset viewer.