diff --git a/docs/building.html b/docs/building.html index 5a7a1d3cf..928a089ff 100644 --- a/docs/building.html +++ b/docs/building.html @@ -31,20 +31,6 @@

libtorrent manual

- -
- - -
- diff --git a/docs/client_test.html b/docs/client_test.html index e510b2289..8149e67c0 100644 --- a/docs/client_test.html +++ b/docs/client_test.html @@ -31,20 +31,6 @@

client_test example program

-
- - -
- -

Client test is a, more or less, complete bittorrent client. It lacks most settings and you can't start or stop torrents once you've started it. All the settings are hardcoded. The commandline arguments are:

diff --git a/docs/dht_extensions.html b/docs/dht_extensions.html index 2c8810465..7501609ee 100644 --- a/docs/dht_extensions.html +++ b/docs/dht_extensions.html @@ -31,20 +31,6 @@
- -
- - -
-
diff --git a/docs/examples.html b/docs/examples.html index cb678e963..baf23b1f5 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -31,20 +31,6 @@

libtorrent Examples

- -
- - -
-
diff --git a/docs/extension_protocol.html b/docs/extension_protocol.html index 73771e973..093f833f8 100644 --- a/docs/extension_protocol.html +++ b/docs/extension_protocol.html @@ -31,20 +31,6 @@
- -
- - -
-
diff --git a/docs/features.html b/docs/features.html index 9ffd9dd2e..87575f6da 100644 --- a/docs/features.html +++ b/docs/features.html @@ -31,20 +31,6 @@

libtorrent manual

- -
- - -
-
diff --git a/docs/index.html b/docs/index.html index 21fdd32b1..bc8a5b6b5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -31,20 +31,6 @@
-
- - -
- -
  • download
  • features
  • diff --git a/docs/libtorrent_plugins.html b/docs/libtorrent_plugins.html index c0fdce271..ab9586ab4 100644 --- a/docs/libtorrent_plugins.html +++ b/docs/libtorrent_plugins.html @@ -31,20 +31,6 @@
- -
- - -
-
diff --git a/docs/make_torrent.html b/docs/make_torrent.html index f6ea66331..a6ef9bffd 100644 --- a/docs/make_torrent.html +++ b/docs/make_torrent.html @@ -31,20 +31,6 @@

creating torrents

- -
- - -
-
diff --git a/docs/manual.html b/docs/manual.html index 4f19d0346..ae1feaf4d 100644 --- a/docs/manual.html +++ b/docs/manual.html @@ -31,20 +31,6 @@

libtorrent API Documentation

- -
- - -
-
@@ -332,13 +318,15 @@ class session: public boost::noncopyable session(fingerprint const& print = libtorrent::fingerprint( "LT", 0, 1, 0, 0) - , int flags = start_default_features | add_default_plugins); + , int flags = start_default_features | add_default_plugins + , int alert_mask = alert::error_notification); session( fingerprint const& print , std::pair<int, int> listen_port_range , char const* listen_interface = 0 - , int flags = start_default_features | add_default_plugins); + , int flags = start_default_features | add_default_plugins + , int alert_mask = alert::error_notification); torrent_handle add_torrent(add_torrent_params const& params); @@ -442,12 +430,14 @@ The main thread will be idle as long it doesn't have any torrents to participate
 session(fingerprint const& print
         = libtorrent::fingerprint("LT", 0, 1, 0, 0)
-        , int flags = start_default_features | add_default_plugins);
+        , int flags = start_default_features | add_default_plugins
+        , int alert_mask = alert::error_notification);
 
 session(fingerprint const& print
         , std::pair<int, int> listen_port_range
         , char const* listen_interface = 0
-        , int flags = start_default_features | add_default_plugins);
+        , int flags = start_default_features | add_default_plugins
+        , int alert_mask = alert::error_notification);
 

If the fingerprint in the first overload is omited, the client will get a default @@ -461,6 +451,7 @@ the parameters, see listen_on()The flags paramater can be used to start default features (upnp & nat-pmp) and default plugins (ut_metadata, ut_pex and smart_ban). The default is to start those things. If you do not want them to start, pass 0 as the flags parameter.

+

The alert_mask is the same mask that you would send to set_alert_mask.

~session()

@@ -2301,6 +2292,14 @@ while (num_resume_data > 0) if (a == 0) break; std::auto_ptr<alert> holder = ses.pop_alert(); + + if (dynamic_cast<save_resume_data_failed_alert const*>(a)) + { + process_alert(a); + --num_resume_data; + continue; + } + save_resume_data_alert const* rd = dynamic_cast<save_resume_data_alert const*>(a); if (rd == 0) { @@ -2436,7 +2435,8 @@ struct torrent_status downloading, finished, seeding, - allocating + allocating, + checking_resume_data }; state_t state; @@ -2518,6 +2518,12 @@ current task is in the state
+ + +
checking_resume_dataThe torrent is currently checking the fastresume data and +comparing it to the files on disk. This is typically +completed in a fraction of a second, but if you add a +large number of torrents at once, they will queue up.
queued_for_checking The torrent is in the queue for being checked. But there currently is another torrent that are being checked. @@ -3069,6 +3075,8 @@ struct session_settings bool prioritize_partial_pieces; int auto_manage_startup; + + bool rate_limit_ip_overhead; };

user_agent this is the client identification to the tracker. @@ -3292,6 +3300,8 @@ proportion.

active after it was started, regardless of upload and download speed. This is so that newly started torrents are not considered inactive until they have a fair chance to start downloading.

+

If rate_limit_ip_overhead is set to true, the estimated TCP/IP overhead is +drained from the rate limiters, to avoid exceeding the limits with the total traffic

pe_settings

diff --git a/docs/projects.html b/docs/projects.html index 1f9fd851a..7853141bc 100644 --- a/docs/projects.html +++ b/docs/projects.html @@ -31,20 +31,6 @@

projects using libtorrent

-
- - -
- -

These are some of the public projects that uses libtorrent. If you want your project listed here, let me know.

diff --git a/docs/python_binding.html b/docs/python_binding.html index 1e3a225a4..7a0a9205c 100644 --- a/docs/python_binding.html +++ b/docs/python_binding.html @@ -31,20 +31,6 @@

libtorrent python binding

- -
- - -
-
diff --git a/docs/udp_tracker_protocol.html b/docs/udp_tracker_protocol.html index 2d4ffc6bb..7c7acc863 100644 --- a/docs/udp_tracker_protocol.html +++ b/docs/udp_tracker_protocol.html @@ -31,20 +31,6 @@

Bittorrent udp-tracker protocol extension

- -
- - -
-