Commit Graph

8723 Commits

Author SHA1 Message Date
Steven Siloti 4949721389 apply {get,set}_option to the appropriate socket based on the option's level
This avoids spurious errors being returned when trying to apply IPv4 options to
the IPv6 socket and vice-versa.
2016-04-04 13:45:06 -07:00
Arvid Norberg 55c35332ba Merge pull request #576 from arvidn/python3-readpiece-1.1
fix python3 binding for read_piece::buffer
2016-04-02 08:46:58 -04:00
arvidn 0076baee81 apply lawnmowerwcd's python binding fix for converting python list to std::vector 2016-04-02 02:29:24 -04:00
arvidn 296c6c24c4 fix python3 binding for read_piece::buffer 2016-04-01 17:55:15 -04:00
Arvid Norberg e3db774828 Merge pull request #571 from arvidn/fix-python3-1.1
fix python3 issue in binding
2016-03-31 08:29:33 -04:00
arvidn f1c3ecd067 fix metadata() and hash_for_piece() in python3 binding 2016-03-31 00:19:23 -04:00
arvidn 7f232dd195 fix python3 issue in binding 2016-03-30 23:35:47 -04:00
Arvid Norberg c8450ef6bc Merge pull request #569 from arvidn/example-fix-1.1
fix typo in travis to actually build bt-get and bt-get2 examples
2016-03-30 17:08:32 -04:00
arvidn 238e7515ea fix typo in travis to actually build bt-get and bt-get2 examples. fix bt-get2 build 2016-03-30 02:32:53 -04:00
Arvid Norberg e9cd4f21c9 Merge pull request #566 from arvidn/choker-fix-1.1
test_optimistic_unchoking sim fix, cleanup and some refactor
2016-03-27 19:51:01 -04:00
arvidn 7649610807 fix test_optimistic_unchoking sim 2016-03-27 18:40:53 -04:00
arvidn 2b00eb1b38 refactor and clean up some sim tests 2016-03-27 18:40:49 -04:00
Arvid Norberg 710442ed91 Merge pull request #564 from arvidn/dead-code-1.1
remove dead code in peer_connection
2016-03-21 21:01:57 -04:00
arvidn 3e7a6b03e5 remove dead code in peer_connection 2016-03-21 18:47:17 -04:00
Arvid Norberg a5af3b0dc5 Merge pull request #563 from arvidn/no-compact-1.1
remove remaining references to storage_mode_compact
2016-03-20 23:20:19 -04:00
Arvid Norberg ee2d7a039d Merge pull request #562 from arvidn/coalesce-reads-1.1
make coalesce reads and coalesce writes actually work
2016-03-20 20:25:51 -04:00
arvidn e8693465a5 remove more references to compact storage allocation 2016-03-20 19:14:46 -04:00
arvidn f5c112eefc remove remaining references to storage_mode_compact (since it's been deprecated for quite a while now, and no longer implemented) 2016-03-20 18:25:24 -04:00
arvidn 2dd28c1708 just use malloc/free in test_storage (instead of page_aligned_allocator). file no longer requires alignment 2016-03-20 17:00:49 -04:00
arvidn 0095aa084f make coalesce reads and coalesce writes actually work 2016-03-20 16:34:19 -04:00
arvidn a9d12766d4 fix typo in hard_link() 2016-03-20 16:14:29 -04:00
Arvid Norberg db214cc92d Merge pull request #559 from arvidn/direct-io-1.1
remove unused O_DIRECT mode
2016-03-20 14:42:58 -04:00
Arvid Norberg d9bc8b7109 Merge pull request #557 from arvidn/aligned-holder-1.1
remove unused aligned_holder class
2016-03-20 01:53:57 -04:00
arvidn 139fb29647 remove unused O_DIRECT mode, and relax/simplify alignment requirements for coalesce_buffers 2016-03-20 00:55:31 -04:00
arvidn 85cf5ac195 remove unused aligned_holder class. fix logging issue of out-of-bound piece requests 2016-03-19 23:32:50 -04:00
Arvid Norberg e9b334ce63 Merge pull request #494 from arvidn/udp-bind-failure-1.1
attempt to fix issue with binding udp sockets on windows
2016-03-19 13:20:51 -04:00
Arvid Norberg 63747fed22 Merge pull request #556 from arvidn/deprecate-explicit-cache-1.1
deprecate more parts of explicit cache
2016-03-19 11:50:57 -04:00
arvidn 53b5e964d2 fix merge issue and properly close ssl udp socket when disabled, prevents the extra listen_succeeded alert for the ssl udp socket 2016-03-19 10:25:35 -04:00
arvidn e9a5985609 if a udp socket is already bound to the IP and port we want to bind it to, don't reopen it 2016-03-19 10:25:30 -04:00
arvidn d705dc2953 attempt to fix issue with binding udp sockets on windows 2016-03-19 10:25:30 -04:00
arvidn f7c9062019 deprecate more parts of explicit cache as well as fixing typos of TORRENT_NO_DEPRECATE preprocessor tests 2016-03-19 07:54:29 -04:00
Arvid Norberg b624d3be58 Merge pull request #555 from arvidn/remove-html-1.1
remove html and other generated files from the repository
2016-03-19 07:51:07 -04:00
arvidn 8b9dfc8244 fix travis installation of dot and PIL 2016-03-19 07:49:52 -04:00
arvidn c1a3108453 remove html and other generated files from the repository 2016-03-19 01:46:56 -04:00
arvidn c0033d0977 do not enable SSL listen sockets by default 2016-03-18 23:57:02 -04:00
Arvid Norberg 2b4033d08c Merge pull request #553 from arvidn/documentation-updates-1.1
fix documentation session_settings -> settings_pack
2016-03-18 19:55:09 -04:00
Arvid Norberg 50f7c88cee Merge pull request #554 from arvidn/tracker-next-test-1.1
convert tracker try-next test to be a simulation (and deterministic)
2016-03-18 19:49:18 -04:00
arvidn b446fe4bba deprecate settings_pack::hashing_threads and replace it with aio_threads in documentation 2016-03-18 16:40:52 -04:00
arvidn 85f615132b fix documentation mentions of session_settings to refer to settings_pack. clean out some outdated disk instrumentation docs 2016-03-18 16:40:52 -04:00
Arvid Norberg d5b32a80b3 Merge pull request #552 from arvidn/explicit-cache-1.1
deprecate explicit cache feature
2016-03-18 16:36:45 -04:00
arvidn d3df16cd12 convert tracker try-next test to be a simulation (and deterministic) 2016-03-18 14:38:45 -04:00
arvidn 3c98868f6c deprecate explicit cache feature 2016-03-18 12:15:03 -04:00
arvidn 7070492a5f remove unused left-overs 2016-03-18 11:30:25 -04:00
Arvid Norberg dbbf8be8a5 Merge pull request #550 from arvidn/remove-mlock-1.1
remove/deprecate bad idea with mlock
2016-03-17 19:37:35 -04:00
arvidn 1cd5119178 remove/deprecate bad idea with mlock 2016-03-17 19:37:05 -04:00
Arvid Norberg 9deb594c18 Merge pull request #548 from arvidn/dead-disk-alloc-1.1
remove unused disk allocation code
2016-03-17 00:16:45 -04:00
arvidn 317eb2fe2a remove unused disk allocation code 2016-03-16 20:13:28 -04:00
Arvid Norberg a1d60db706 Merge pull request #547 from arvidn/no-read-cache-1.1
fix use_read_cache=false
2016-03-16 08:14:15 -04:00
Arvid Norberg 4343bb911c Merge pull request #545 from arvidn/zero-cache-perf-1.1
allow each peer have at least 2 allocated disk blocks at any given time
2016-03-16 08:14:02 -04:00
arvidn 4926081960 fix use_read_cache=false 2016-03-16 02:22:18 -04:00