* 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:
rakshasa
2007-01-02 17:06:08 +00:00
parent de744ad11d
commit 3b38c4ab9c
14 changed files with 141 additions and 134 deletions
+7 -1
View File
@@ -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(),