mirror of
https://github.com/nginx/nginx.git
synced 2024-12-01 03:17:17 +08:00
style fix
This commit is contained in:
parent
54a553b721
commit
b3dd3fd359
@ -608,8 +608,8 @@ ngx_http_upstream_set_round_robin_peer_session(ngx_peer_connection_t *pc,
|
|||||||
rc = ngx_ssl_set_session(pc->connection, ssl_session);
|
rc = ngx_ssl_set_session(pc->connection, ssl_session);
|
||||||
|
|
||||||
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, pc->log, 0,
|
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, pc->log, 0,
|
||||||
"set session: %p:%d",
|
"set session: %p:%d",
|
||||||
ssl_session, ssl_session ? ssl_session->references : 0);
|
ssl_session, ssl_session ? ssl_session->references : 0);
|
||||||
|
|
||||||
/* ngx_unlock_mutex(rrp->peers->mutex); */
|
/* ngx_unlock_mutex(rrp->peers->mutex); */
|
||||||
|
|
||||||
@ -633,7 +633,7 @@ ngx_http_upstream_save_round_robin_peer_session(ngx_peer_connection_t *pc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, pc->log, 0,
|
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, pc->log, 0,
|
||||||
"save session: %p:%d", ssl_session, ssl_session->references);
|
"save session: %p:%d", ssl_session, ssl_session->references);
|
||||||
|
|
||||||
peer = &rrp->peers->peer[rrp->current];
|
peer = &rrp->peers->peer[rrp->current];
|
||||||
|
|
||||||
@ -648,7 +648,7 @@ ngx_http_upstream_save_round_robin_peer_session(ngx_peer_connection_t *pc,
|
|||||||
if (old_ssl_session) {
|
if (old_ssl_session) {
|
||||||
|
|
||||||
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, pc->log, 0,
|
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, pc->log, 0,
|
||||||
"old session: %p:%d",
|
"old session: %p:%d",
|
||||||
old_ssl_session, old_ssl_session->references);
|
old_ssl_session, old_ssl_session->references);
|
||||||
|
|
||||||
/* TODO: may block */
|
/* TODO: may block */
|
||||||
|
Loading…
Reference in New Issue
Block a user