Changelog since 2.0.15
* harden HTTP redirects
* on POSIX, pass filenames to the OS as UTF-8, independent of the locale
* fix is_i2p_url() treating IPv6 literals with a crafted zone ID as i2p URLs
* fix DHT put of an item erasing from an empty table when dht_max_dht_items is 0
* fix announce_to_all_tiers and announce_to_all_trackers names being swapped
* only count the final timeout of a DHT request as a node failure, not the short timeout
* fix a few DHT routing table and storage bugs
* fix DHT traversals sending requests to our own node ID
* fix DHT put with a public key but no signature being stored under the mutable item's target
* fix outgoing i2p connections on v2-only torrents
* reject loading v2 torrents where files of different sizes share a pieces root
* fix byte counts of a seed's re-created piece picker leaving out pad bytes
(a v2 torrent rechecked after a skipped file was deleted stayed below 100%)
* fix bind_to_device on windows
* fix rollback of move-storage
* fix renaming sanitized files back to their original name
Full changelog
- fix alignment issue by @arvidn in #8914
- improve checking_benchmark by @arvidn in #8942
- fix renaming sanitized files back to their original name by @arvidn in #8944
- harden generate_prefix_mask() by @arvidn in #8949
- harden web seed response validation by @arvidn in #8950
- fix rollback of move-storage by @arvidn in #8955
- back-port fix for update_tracker_timer by @arvidn in #8959
- implement bind_to_device on windows by @arvidn in #8963
- fix unreasonable exception from torrent_handle::in_session() by @arvidn in #9005
- fix a re-created piece picker leaving out pad bytes by @diogochaves in #9056
- transition from macos-14 runners to macos-15 by @arvidn in #9082
- Fix identical file root hashes by @arvidn in #9078
- fix mapping of hash responses to the correct file index by @arvidn in #9081
- fix resolve_links by @arvidn in #9080
- cleanup file root patch by @arvidn in #9086
- pass the correct pex flags when adding i2p peers by @arvidn in #9087
- fix DHT put with a public key but no signature being stored under the mutable item's target by @gubatron in #9128
- fix DHT traversals sending requests to our own node ID by @gubatron in #9136
- Dht fixes by @arvidn in #9150
- fix accounting for num_peers_down_requests and num_peers_up_requests by @arvidn in #9152
- fixup the branch factor adjustment by @arvidn in #9154
- Fix typo swapping announce_to_all_tiers and announce_to_all_trackers by @arvidn in #9156
- correct accounting for job types in performance counters by @arvidn in #9155
- fix reporting the random_access file mode by @arvidn in #9159
- fix DHT put of an item erasing from an empty table when dht_max_dht_items is 0 by @gubatron in #9141
- fix out-of-bounds access in upnp::delete_mapping() with an invalid handle by @jsavyasachi in #9176
- I2p hardening by @arvidn in #9188
- fix edge case in is_i2p_url() by @arvidn in #9191
- back-port mmap_disk_io pad file fix by @arvidn in #9190
- fix pe_crypto barrier handling by @arvidn in #9192
- fail early on invalid i2p hostnames by @arvidn in #9193
- harden i2p trackers by @arvidn in #9194
- drop support for non UTF-8 locales by @arvidn in #9196
- harden web seeds by @arvidn in #9202
- simplify torrent_info by @arvidn in #9203
- fix http_connection retrying a connection by @arvidn in #9205
- fix mutable torrents by @arvidn in #9206
- fix gzip failure path in http_handler by @arvidn in #9208
- fail web seeds with large response headers early by @arvidn in #9213
- limit directory depth for v1 torrent, just like v2 already does by @arvidn in #9224
- improve hard and symbolic links by @arvidn in #9225
- harden HTTP redirects by @arvidn in #9228
- add missing include by @arvidn in #9232
- bump version to 2.0.16 by @arvidn in #9233
- Update tracker timer by @arvidn in #9229
New Contributors
- @diogochaves made their first contribution in #9056
- @jsavyasachi made their first contribution in #9176
Full Changelog: v2.0.15...v2.0.16