Commit Graph

7343 Commits

Author SHA1 Message Date
Arvid Norberg f839b8c9b4 factor creating of directories into default_storage::open_file to make that functionality more robust and fix a bug where moving files out of the part-file would fail because the directories hadn't been created yet 2015-01-03 16:57:21 +00:00
Arvid Norberg b897a6ce29 fix bug in settings_pack causing intermittent unit test failures. added unit test to cover the bug 2015-01-03 16:52:22 +00:00
Arvid Norberg 290260054d fix http restart-piece bug whose fix apparently failed to merge from RC_1_0 a long time ago. Also improve logging of restart pieces 2015-01-03 13:09:09 +00:00
Arvid Norberg 8589a7b01c don't build parse_hash_fails.cpp by defaults, as it uses internal libtorrent symbols (and fail in dynamic linking) 2015-01-02 23:33:15 +00:00
Arvid Norberg 5418d92eaf build fixes 2015-01-02 19:51:01 +00:00
Arvid Norberg 0961a3d1ba fix python build without deprecated functions 2015-01-02 11:48:04 +00:00
Arvid Norberg 21d1f6f649 more dynamic link build fixes 2015-01-02 11:11:09 +00:00
Arvid Norberg 9b0f7bbe72 move function from header to .cpp file 2015-01-02 00:51:09 +00:00
Arvid Norberg 299b6338b6 fix documentation 2015-01-01 23:35:28 +00:00
Arvid Norberg dbf461ac23 make DHT dos mitigation parameters configurable via dht_settings 2015-01-01 23:24:21 +00:00
Arvid Norberg 5c04eb7d00 fix client_test bug introduced by recent patch 2015-01-01 21:42:55 +00:00
Arvid Norberg f77e12ac04 clean up symbol exports 2015-01-01 20:25:39 +00:00
Arvid Norberg c2a05228fd fix dynamic linking (Jamfile and dependencies on internals) 2015-01-01 18:03:56 +00:00
Arvid Norberg a1c1f9393d fix flush_pieces in disk_io_thread to also flush the read cache 2015-01-01 10:10:13 +00:00
Arvid Norberg 98372ff974 regenerate html 2014-12-31 23:18:11 +00:00
Arvid Norberg 092362e9bc remove internal fields from web_seed_entry 2014-12-31 22:05:34 +00:00
Arvid Norberg 73a2a4e51d fix comment formatting in settings_pack 2014-12-31 17:00:27 +00:00
Arvid Norberg 764b09d6b5 make the peer fingerprint a regular setting and remove it from the main session constructor argument list 2014-12-31 15:51:45 +00:00
Arvid Norberg 1039d4ae86 tweak some TODO comments and fix one 2014-12-31 14:41:35 +00:00
Arvid Norberg bc117e5f40 merged changes from RC_1_0 2014-12-31 09:30:23 +00:00
Arvid Norberg eefba55419 fix assert in utp_stream at high rates 2014-12-30 20:44:18 +00:00
Arvid Norberg e13bfce017 improve printing of rates and counters in client_test 2014-12-30 20:41:58 +00:00
Arvid Norberg f77ba409fa fix typo 2014-12-30 17:05:34 +00:00
Arvid Norberg c443193ce0 add option to client_test to remove web seeds 2014-12-30 16:59:37 +00:00
Arvid Norberg 7d53b7efd3 fix merge error 2014-12-30 16:56:03 +00:00
Arvid Norberg fcf6beace5 merged changes from RC_1_0 2014-12-30 09:02:20 +00:00
Arvid Norberg 1a45d2ebd3 regenerate html 2014-12-29 16:58:48 +00:00
Arvid Norberg e9414894e2 separate the configuration of crypto library and whether protocol encryption is enabled or not. make protocol encryption always use the built-in rc4 and tommath code. SHA-1 hashing is done by the crypto library 2014-12-29 16:50:22 +00:00
Arvid Norberg ae47823970 don't fail renaming a file in a torrent just because it doesn't exist (and the destination directory doesn't exist) 2014-12-26 21:25:37 +00:00
Arvid Norberg 75ae204cf4 remove orphaned function declaration 2014-12-25 18:26:19 +00:00
Arvid Norberg 0977d94dbc merged changes from RC_1_0 2014-12-25 11:24:02 +00:00
Arvid Norberg ca3c1620bd merged changes from RC_1_0 2014-12-17 14:33:52 +00:00
Arvid Norberg 20b4608c38 optimize copying torrent_info and file_storage objects 2014-12-17 05:33:16 +00:00
Arvid Norberg 13a9c3c78d we no longer support including file-hashes when creating torrents 2014-12-17 03:50:01 +00:00
Arvid Norberg 6214aef0c5 merged changes from RC_1_0 2014-12-17 03:19:42 +00:00
Arvid Norberg 465832bf2b fix comment formatting 2014-12-17 02:48:22 +00:00
Arvid Norberg a67c478336 fix sanitizer options in jamfile 2014-12-17 02:45:32 +00:00
Arvid Norberg ae04b80fe1 cancel non-critical DNS lookups when shutting down, to cut down on shutdown delay 2014-12-17 02:44:27 +00:00
Arvid Norberg d9f41bf617 documentation update 2014-12-12 17:16:04 +00:00
Arvid Norberg 6f19f9a063 lt_trackers is no longer a default extension 2014-12-10 09:59:24 +00:00
Arvid Norberg a3d1a493fd disable logging alerts in client_test 2014-12-10 09:45:38 +00:00
Arvid Norberg 333a13c957 a bit more conservative block request timeouts. promote some invariant checks in the DHT as expensive (to disable them for regular debug builds) 2014-12-10 07:13:57 +00:00
Arvid Norberg 1ce3bdf0d0 update send and received byte performance counters immediately, to avoid the one second quantization in stats 2014-12-10 05:49:17 +00:00
Arvid Norberg 9d09b11a6d regenerate html 2014-12-10 02:58:23 +00:00
Arvid Norberg af0ce400d7 regenerate todo.html 2014-12-10 01:07:21 +00:00
Arvid Norberg 20b9a01a09 pack members of pending_buffer a bit 2014-12-10 01:05:40 +00:00
Arvid Norberg 0b960615b1 fix another build warning 2014-12-09 09:49:14 +00:00
Arvid Norberg 5666cdcd07 fix warnings 2014-12-09 09:33:34 +00:00
Arvid Norberg 09bc1550e9 simplify the debug logging mechanism. There's now only one build option, logging=on or logging=off. When logging is enabled, the log level is controlled by the alert mask. All log events are delivered as alerts and it's up to the client to write them to disk in whatever way seems appropriate. removed the pointless logger plugin 2014-12-09 09:08:26 +00:00
Arvid Norberg 4eaec6d87f instead of using a fixed request timeout for every peer, have an adaptable one based on the average download time for a block 2014-12-08 17:06:04 +00:00