Reuse HTTP connections and added totale/cached connection limits.

This commit is contained in:
Jari Sundell
2025-10-09 14:15:24 +02:00
committed by GitHub
parent bf53700f97
commit 2be730e4b3
4 changed files with 59 additions and 50 deletions
+2 -2
View File
@@ -410,8 +410,8 @@ print_status_extra(char* first, char* last) {
torrent::resource_manager()->max_download_unchoked());
first = print_buffer(first, last, " [H %u/%u]",
torrent::net_thread::http_stack()->active(),
torrent::net_thread::http_stack()->max_active());
torrent::net_thread::http_stack()->size(),
torrent::net_thread::http_stack()->max_total_connections());
first = print_buffer(first, last, " [S %i/%i/%i]",
torrent::total_handshakes(),