aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2025-02-21 15:54:04 +0400
committerpluknet <pluknet@nginx.com>2025-02-26 17:40:03 +0400
commitd16251969bf113272b577920940f020524d5fceb (patch)
tree1aa9a1ca682ab4e59ba915700febf386cf135d60
parent311c39037734df89b56325091e9435bc542308f4 (diff)
downloadnginx-d16251969bf113272b577920940f020524d5fceb.tar.gz
nginx-d16251969bf113272b577920940f020524d5fceb.zip
SSL: removed stale comments.
It appears to be a relic from prototype locking removed in b0b7b5a35.
-rw-r--r--src/http/ngx_http_upstream_round_robin.c2
-rw-r--r--src/stream/ngx_stream_upstream_round_robin.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/http/ngx_http_upstream_round_robin.c b/src/http/ngx_http_upstream_round_robin.c
index 25741869e..4637318d1 100644
--- a/src/http/ngx_http_upstream_round_robin.c
+++ b/src/http/ngx_http_upstream_round_robin.c
@@ -1021,8 +1021,6 @@ ngx_http_upstream_save_round_robin_peer_session(ngx_peer_connection_t *pc,
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, pc->log, 0,
"old session: %p", old_ssl_session);
- /* TODO: may block */
-
ngx_ssl_free_session(old_ssl_session);
}
}
diff --git a/src/stream/ngx_stream_upstream_round_robin.c b/src/stream/ngx_stream_upstream_round_robin.c
index 1dae4e538..dd80322c8 100644
--- a/src/stream/ngx_stream_upstream_round_robin.c
+++ b/src/stream/ngx_stream_upstream_round_robin.c
@@ -1054,8 +1054,6 @@ ngx_stream_upstream_save_round_robin_peer_session(ngx_peer_connection_t *pc,
ngx_log_debug1(NGX_LOG_DEBUG_STREAM, pc->log, 0,
"old session: %p", old_ssl_session);
- /* TODO: may block */
-
ngx_ssl_free_session(old_ssl_session);
}
}