Libtorrent

Latest version: v2.0.11

Safety actively analyzes 701583 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 24

2.0.1

* fix attribute in single-file v2 torrent creation
* fix padding for empty files in v2 torrent creation
* add function to ask a file_storage whether it's v2 or not
* fix mtime field when creating single-file v2 torrents
* fix performance regression in checking files
* disable use of SetFileValidData() by default (windows). A new setting
allows enabling it

2.0

* dropped dependency on iconv
* deprecate set_file_hash() in torrent creator, as it's superseded by v2 torrents
* deprecate mutable access to info_section in torrent_info
* removed deprecated lazy_entry/lazy_bdecode
* stats_alert deprecated
* remove bittyrant choking algorithm
* update userdata in add_torrent_params to be type-safe and add to torrent_handle
* add ip_filter to session_params
* added support for wolfSSL for SHA-1 hash and HTTPS (no Torrents over SSL)
* requires OpenSSL minimum version 1.0.0 with SNI support
* deprecated save_state() and load_state() on session in favour of new
write_session_params() and read_session_params()
* added support for BitTorrent v2 (see docs/upgrade_to_2.0.html)
* create_torrent() pad_file_limit parameter removed
* create_torrent() merkle- and optimize-alignment flags removed
* merkle_tree removed from add_torrent_params
* announce_entry expose information per v1 and v2 info-hash announces
* deprecated sha1_hash info_hash members on torrent_removed_alert,
torrent_deleted_alert, torrent_delete_failed_alert and add_torrent_params
* undeprecate error_file_metadata for torrent errors related to its metadata
* remove support for adding a torrent under a UUID (used for previous RSS support)
* remove deprecated feature to add torrents by file:// URL
* remove deprecated feature to download .torrent file from URL
* requires boost >= 1.66 to build
* update networking API to networking TS compatible boost.asio
* overhauled disk I/O subsystem to use memory mapped files (where available)
* libtorrent now requires C++14 to build
* added support for GnuTLS for HTTPS and torrents over SSL


* fix issue where stop-when-ready would not close files
* uTP performance, fix packet loss when sending is stalled
* uTP performance, prevent premature timeouts/resends
* uTP performance, more lenient nagle's algorithm to always allow one outstanding undersized packet
* uTP performance, piggy-back held back undersized packet with ACKs
* uTP performance, don't send redundant deferred ACKs
* fix wanted_done/done accounting when force-rechecking
* expose userdata via torrent_handle (back-port from 2.0)
* fix renaming of filenames that are too long for the filesystem
* made UPnP and LSD code avoid using select_reactor (to work around an issue on windows in boost.asio < 1.80)

1.2.19.0

* boost 1.82 upgrade
* openssl 1.1.1t upgrade
* gradle 8.1.1 upgrade
* jar built with jdk20
* libtorrent update to RC_1_2 adac0d0843c7fb2180f43d20bd5bee0e380e4673
* android NDK r25c (LTS) (from r25b)
* lt:back-port load_torrent_*() functions
* lt:fix issue with odd piece sizes
* lt:fix issue where stop-when-ready would not close files
* lt:uTP performance, fix packet loss when sending is stalled
* lt:uTP performance, prevent premature timeouts/resends
* lt:uTP performance, more lenient nagle's algorithm to always allow one outstanding undersized packet
* lt:uTP performance, piggy-back held back undersized packet with ACKs
* lt:uTP performance, don't send redundant deferred ACKs
* lt:fix wanted_done/done accounting when force-rechecking
* lt:expose userdata via torrent_handle (back-port from 2.0)
* lt:fix renaming of filenames that are too long for the filesystem
* lt:made UPnP and LSD code avoid using select_reactor (to work around an issue on windows in boost.asio < 1.80)

1.2.17

Not secure
* fixed tracker connections spinning when hostname lookups stall
* fixed error in pkg-config file generation in Jamfile
* improve backwards compatibility with loading magnet link resume files
* fix bind-to-device for tracker announces and UPnP
* rename peer_tos setting to peer_dscp
* fix bdecode support for large strings (>= 100 MB)

1.2.17.0

* boost 1.80 upgrade
* openssl 1.1.1q upgrade
* gradle 7.5.1 upgrade
* libtorrent update to RC_1_2 b5873f23b40ef9054b2bd6a4db2a2d327a56d4b1
* android NDK r25b (LTS) update (from r23)
* lt:fix wanted_done/done accounting when force-rechecking
* lt:expose userdata via torrent_handle (back-port from 2.0)
* lt:fix renaming of filenames that are too long for the filesystem
* lt:made UPnP and LSD code avoid using select_reactor (to work around an issue on windows in boost.asio < 1.80)
* lt:fixed tracker connections spinning when hostname lookups stall
* lt:fixed error in pkg-config file generation in Jamfile
* lt:improve backwards compatibility with loading magnet link resume files
* lt:fix bind-to-device for tracker announces and UPnP
* lt:rename peer_tos setting to peer_dscp
* lt:fix bdecode support for large strings (>= 100 MB)

1.2.16

* send User-Agent field in anonymous mode
* fix python binding for settings_pack conversion
* fix DHT announce timer issue
* use DSCP_TRAFFIC_TYPE socket option on windows
* update default ToS setting according to RFC 8622
* keep trying to announce to trackers even when all fail
* don't disable announcing from local endpoints because of temporary failures
* fix issue in parsing UPnP XML response with multiple forwarding services

Page 3 of 24

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.