Changeset a66b5be in mod_gnutls


Ignore:
Timestamp:
Aug 11, 2020, 11:34:46 AM (12 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master
Children:
facbb08
Parents:
3935417
Message:

Include MGS_DEFAULT_PRIORITY statically in log messages

Very minor performance improvement.

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    r3935417 ra66b5be  
    161161    {
    162162        ap_log_perror(APLOG_MARK, APLOG_EMERG, 0, plog,
    163                       "gnutls_priority_init failed for default '%s': %s (%d)",
    164                       MGS_DEFAULT_PRIORITY, gnutls_strerror(ret), ret);
     163                      "gnutls_priority_init failed for default '"
     164                      MGS_DEFAULT_PRIORITY "': %s (%d)",
     165                      gnutls_strerror(ret), ret);
    165166        return DONE;
    166167    }
     
    722723            ap_log_error(APLOG_MARK, APLOG_INFO, 0, s,
    723724                         "No GnuTLSPriorities directive for host '%s:%d', "
    724                          "using default '%s'.",
    725                          s->server_hostname, s->addrs->host_port,
    726                          MGS_DEFAULT_PRIORITY);
     725                         "using default '" MGS_DEFAULT_PRIORITY "'.",
     726                         s->server_hostname, s->addrs->host_port);
    727727            sc->priorities = mgs_get_default_prio();
    728728        }
  • src/gnutls_proxy.c

    r3935417 ra66b5be  
    174174        ap_log_error(APLOG_MARK, APLOG_INFO, 0, s,
    175175                     "No GnuTLSProxyPriorities directive for host '%s:%d', "
    176                      "using default '%s'.",
    177                      s->server_hostname, s->addrs->host_port,
    178                      MGS_DEFAULT_PRIORITY);
     176                     "using default '" MGS_DEFAULT_PRIORITY "'.",
     177                     s->server_hostname, s->addrs->host_port);
    179178        sc->proxy_priorities = mgs_get_default_prio();
    180179    }
Note: See TracChangeset for help on using the changeset viewer.