mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 23:22:31 +00:00
* Limit the number of simultanious http connections.
* Added max_open_http to the man page. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@840 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -51,7 +51,9 @@
|
||||
#include <torrent/peer/client_info.h>
|
||||
|
||||
#include "core/download.h"
|
||||
#include "core/manager.h"
|
||||
|
||||
#include "globals.h"
|
||||
#include "utils.h"
|
||||
|
||||
namespace display {
|
||||
@@ -279,11 +281,15 @@ print_status_info(char* first, char* last) {
|
||||
}
|
||||
|
||||
char*
|
||||
print_status_extra(char* first, char* last, __UNUSED Control* c) {
|
||||
print_status_extra(char* first, char* last) {
|
||||
first = print_buffer(first, last, " [U %i/%i]",
|
||||
torrent::currently_unchoked(),
|
||||
torrent::max_unchoked());
|
||||
|
||||
first = print_buffer(first, last, " [H %u/%u]",
|
||||
control->core()->get_poll_manager()->get_http_stack()->active(),
|
||||
control->core()->get_poll_manager()->get_http_stack()->max_active());
|
||||
|
||||
first = print_buffer(first, last, " [S %i/%i/%i]",
|
||||
torrent::total_handshakes(),
|
||||
torrent::connection_manager()->size(),
|
||||
|
||||
Reference in New Issue
Block a user