details:   
https://github.com/nginx/nginx/commit/d16251969bf113272b577920940f020524d5fceb
branches:  master
commit:    d16251969bf113272b577920940f020524d5fceb
user:      Sergey Kandaurov <pluk...@nginx.com>
date:      Fri, 21 Feb 2025 15:54:04 +0400
description:
SSL: removed stale comments.

It appears to be a relic from prototype locking removed in b0b7b5a35.

---
 src/http/ngx_http_upstream_round_robin.c     | 2 --
 src/stream/ngx_stream_upstream_round_robin.c | 2 --
 2 files changed, 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);
     }
 }
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to