Changeset 272833c in mod_gnutls


Ignore:
Timestamp:
Aug 13, 2021, 4:16:53 PM (20 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
main, master
Children:
7677448
Parents:
ac49b95
git-author:
Fiona Klute <fiona.klute@…> (08/13/21 16:12:34)
git-committer:
Fiona Klute <fiona.klute@…> (08/13/21 16:16:53)
Message:

Adjust log level for read error messages

These are most likely caused by clients and useful for debugging, but
shouldn't show up in regular operation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_io.c

    rac49b95 r272833c  
    254254            } else if (rc == GNUTLS_E_REHANDSHAKE) {
    255255                /* 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,
    257257                        ctxt->input_rc,
    258258                        ctxt->c,
     
    262262            } else if (rc == GNUTLS_E_WARNING_ALERT_RECEIVED) {
    263263                rc = gnutls_alert_get(ctxt->session);
    264                 ap_log_cerror(APLOG_MARK, APLOG_INFO,
     264                ap_log_cerror(APLOG_MARK, APLOG_DEBUG,
    265265                        ctxt->input_rc,
    266266                        ctxt->c,
     
    270270            } else if (rc == GNUTLS_E_FATAL_ALERT_RECEIVED) {
    271271                rc = gnutls_alert_get(ctxt->session);
    272                 ap_log_cerror(APLOG_MARK, APLOG_INFO,
     272                ap_log_cerror(APLOG_MARK, APLOG_DEBUG,
    273273                        ctxt->input_rc,
    274274                        ctxt->c,
     
    281281                /* Some Other Error. Report it. Die. */
    282282                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));
    290289                } else if (*len > 0) {
    291290                    ctxt->input_rc = APR_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.