SSL: shorter debug messages about session tickets.
This commit is contained in:
parent
0c18bd861d
commit
2e2c146aa5
1 changed files with 3 additions and 3 deletions
|
@ -4398,7 +4398,7 @@ ngx_ssl_ticket_key_callback(ngx_ssl_conn_t *ssl_conn,
|
||||||
/* encrypt session ticket */
|
/* encrypt session ticket */
|
||||||
|
|
||||||
ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
|
ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
|
||||||
"ssl session ticket encrypt, key: \"%*xs\" (%s session)",
|
"ssl ticket encrypt, key: \"%*xs\" (%s session)",
|
||||||
(size_t) 16, key[0].name,
|
(size_t) 16, key[0].name,
|
||||||
SSL_session_reused(ssl_conn) ? "reused" : "new");
|
SSL_session_reused(ssl_conn) ? "reused" : "new");
|
||||||
|
|
||||||
|
@ -4445,7 +4445,7 @@ ngx_ssl_ticket_key_callback(ngx_ssl_conn_t *ssl_conn,
|
||||||
}
|
}
|
||||||
|
|
||||||
ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
|
ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
|
||||||
"ssl session ticket decrypt, key: \"%*xs\" not found",
|
"ssl ticket decrypt, key: \"%*xs\" not found",
|
||||||
(size_t) 16, name);
|
(size_t) 16, name);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -4453,7 +4453,7 @@ ngx_ssl_ticket_key_callback(ngx_ssl_conn_t *ssl_conn,
|
||||||
found:
|
found:
|
||||||
|
|
||||||
ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
|
ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
|
||||||
"ssl session ticket decrypt, key: \"%*xs\"%s",
|
"ssl ticket decrypt, key: \"%*xs\"%s",
|
||||||
(size_t) 16, key[i].name, (i == 0) ? " (default)" : "");
|
(size_t) 16, key[i].name, (i == 0) ? " (default)" : "");
|
||||||
|
|
||||||
if (key[i].size == 48) {
|
if (key[i].size == 48) {
|
||||||
|
|
Loading…
Reference in a new issue