Commit Graph

9409 Commits

Author SHA1 Message Date
arvidn 48980896d5 exit natpmp::on_reply earlier if we're shutting down 2018-11-16 10:14:37 +01:00
Eugene Shalygin b91c595b43 cmake: allow selecting C++ standard version during build
This backports commit 8e72fad3c to the RC_1_1 branch, taking into
account that C++98 is allowed for RC_1_1 with older boost versions.
2018-11-15 13:14:13 +01:00
airium 9415467dd8 Fix setting ipv6 interface 2018-11-15 13:12:22 +01:00
sledgehammer_999 e5dfcfc6b8 Include cmake file in the tarball 2018-11-14 08:56:40 +01:00
arvidn 13dd7cfe1e a better fix to the ssl port announce bug 2018-11-14 07:36:22 +01:00
arvidn 049b090e8d detect cases where TORRENT_EXPORT is placed where gen_reference_doc.py ignores it, and fix the code 2018-11-13 07:44:28 +01:00
Eugene Shalygin 5c533522cb cmake: make pkg-config package name independent of target name 2018-11-13 01:04:10 +01:00
arvidn a233d3cc28 actually fix the issue with the second tracker announce with port 0 2018-11-12 18:02:15 +01:00
arvidn 2edb86c543 fix some warnings in utp_stream 2018-11-12 14:15:06 +01:00
arvidn dc7cc3ef37 bump max size of read/write handlers 2018-11-12 09:07:58 +01:00
Eugene Shalygin fccf25e839 cmake: strip directories and library prefixes for pkg-config
Replace full library names with -L commands and -llib-name pairs. This
way it resembles what autotools produce and additionally -l can not be
used with GNU linker and full paths (as it prepends "lib" to such
arguments).

Fixes #3424.
2018-11-12 09:07:16 +01:00
arvidn a2a10e9bee expose some dht alert fields as bytes instead of strings 2018-11-10 21:31:27 +01:00
arvidn 7bb828af6e back-port the new test SSL cert from master 2018-11-09 11:55:42 +01:00
Arvid Norberg cec300234c fix move_storage with save_path with a trailing slash 2018-11-06 23:46:18 +01:00
Arvid Norberg 939b380fda fix build against boost-1.69 2018-11-02 11:10:26 +01:00
Arvid Norberg 5b5b280b87 only make snubbed peers invert the piece picking strategy when we're doing rarest first (i.e. snubbed peers do common-first). Specifically, this prevents snubbed peers from picking from the end of the torrent when in sequential mode 2018-11-01 12:01:02 +01:00
Eugene Shalygin ba294e6594 cmake: backport changes from the master branch
This fixes generated pkg-config file and adds options to build python
bindings.
2018-10-31 00:17:36 +01:00
Arvid Norberg e1eb12e60f ssl listen port fix and improved tracker announce logging 2018-10-29 18:38:14 +01:00
Arvid Norberg a5da48edd4 add missing boost/noncopyable include 2018-10-25 09:47:21 +02:00
Arvid Norberg 12c52e8751 back-port the fix from the lgtm fixes in master 2018-10-19 19:40:17 +02:00
arvidn 269f0c5fb8 properly tear down the disk_io_thread object in set_piece_hashes() when exiting via an exception 2018-10-16 22:54:25 +02:00
arvidn 4a71cc5d89 fix python binding for torrent_info::creation_date() 2018-10-12 22:49:33 +02:00
arvidn 0b8c550b9c remove accidental file from repo 2018-10-11 07:30:02 +02:00
arvidn 6df82a9ee6 fix cmake default built to enable logging 2018-10-08 07:15:54 +02:00
arvidn 700a71b418 add tests/CMakeLists.txt to tarball 2018-10-07 13:47:33 +02:00
arvidn 5913d16f01 fix SOVERSION in CMakeLists 2018-10-07 13:28:01 +02:00
Arvid Norberg 200bb494c3 bump version 2018-10-01 09:41:37 +02:00
arvidn a499ace80b fix issue in udp_socket with unusual socket failure 2018-09-28 13:17:43 -07:00
arvidn 6c4d1b9143 back-port the patch to split up the progress_notification alert_mask into three new categories, file-, piece- and block progress 2018-09-24 08:52:30 -07:00
arvidn 022a089b86 utp close-reason use after free fix 2018-09-23 08:24:54 -07:00
arvidn 2508e2ab0f exposed default add_torrent_params flags to python bindings 2018-09-21 15:44:27 -07:00
arvidn 8cc93e9855 fix redundant flushes of partfile metadata 2018-09-12 07:47:13 -07:00
Arvid Norberg 51003d11ca add assert to storage 2018-09-04 13:44:24 +02:00
Arvid Norberg 2647ca2412 add option to ignore min-interval from tracker, when force-reannouncing a tracker 2018-09-04 08:46:24 +02:00
arvidn 214ace3efe raise default value for active_limit to 500, since it's supposed to be an upper sanity check limit 2018-09-02 19:25:06 +02:00
arvidn 2e313de898 remove unused member variables in torrent object 2018-08-29 15:01:40 +02:00
arvidn 7c837be651 make the print function for entry actually be json-like. when logging bencode entries, print it all on a single line. add test for entry print function 2018-08-27 13:56:04 +02:00
arvidn 269b71324e improve log statement when not unchoking a peer 2018-08-27 13:43:48 +02:00
Arvid Norberg c1b0c70c23 fall back to copy+remove if rename_file fails 2018-08-27 12:30:47 +02:00
Arvid Norberg 6e80f1f615 improve handling of filesystems not supporting fallocate() 2018-08-22 08:35:22 +02:00
arvidn c9043dec53 force proxy no longer disables the DHT 2018-08-20 08:24:31 +02:00
arvidn 6620b6e774 dial back the connect boost a bit from recent update 2018-08-13 19:17:01 +02:00
arvidn 0e96ae2906 fix building with newer version of boost build, remove old option to turn off PIC on darwin 2018-08-13 07:09:24 +02:00
d_komarov 0bcf6cef23 Fix exporting files
To avoid overwriting existing files, before exporting anything from a
parts file, check whether it contains valid data.
2018-08-10 20:21:29 +02:00
arvidn 6d2541f131 improve connect-boost feature, to make new torrents quickly connect peers 2018-08-09 20:12:56 +02:00
Arvid Norberg 0a5b3c1bb0 update documentation for save_resume_data() and stop_when_ready() 2018-08-09 00:57:21 +02:00
Arvid Norberg 149c24e549 make test_ssl less likely to fail spuriously 2018-08-02 23:17:38 +02:00
arvidn 70d64327fd bump checking_mem_usage to be higher than the default in the high_performance_seed preset 2018-08-02 23:15:51 +02:00
arvidn 19df645012 apply piece priorities immediately, even though file priority updares are async. save both file- and piece priorities in fast resume. when loading, apply file prios first, then piece prios 2018-07-29 21:53:01 +02:00
arvidn 7980447480 added missing stats_metric python binding 2018-07-29 00:44:48 +02:00