v2.1.0
#8570
Replies: 1 comment
-
|
Congratulations @arvidn 🎉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The headline features for this release are:
webtorrent support
Thanks to Paul-Louis Ageneau https://github.com/paullouisageneau, and apologies for this feature having been unreleased for so long.
This feature is now enabled by default. The last push to get this ready has been to add fuzz targets for WebRTC specific features, rtc_parse_endpoint, rtc_peer_conn, rtc_tracker_offer and sdp_offer. The dependencies for webtorrent support are pulled in as submodules in the repository. webtorrent also adds a new dependency on boost-json.
Note that the webtorrent support significantly widens the attack surface of libtorrent, if you don't need this feature, it's probably best disabled (webtorrent=off / -Dwebtorrent=OFF)
pread_disk_io
A new disk I/O backend that uses pwritev and preadv (and windows counterparts). This is hopefully addressing the misstep of transitioning all disk I/O over to memory mapped files. The mmap disk backend is still available and is probably more efficient for local NVMe drives. But for spinning disks, network mounts or FUSE drives, regular I/O calls should be a lot more efficient. pread_disk_io is now the default.
One of the main challenges with the new disk I/O has been to get the multi-threading right. It computes piece hashes on dedicated threads, separate from those making the I/O calls. This lets us advertise and upload pieces before they're flushed to disk, maintaining high throughput.
Other highlights are:
full commit log
generate_torrent()by @arvidn ingenerate_torrent()#7865add_torrent_paramsby @arvidn in transition more tests to useadd_torrent_params#7867torrent_infoby @arvidn in deprecate storing piece layers intorrent_info#7866make_magnet_uri()overloads by @arvidn in deprecatemake_magnet_uri()overloads #7871torrent_infoby @arvidn in deprecate keeping DHT nodes intorrent_info#7872torrent_infoby @arvidn in Immutabletorrent_info#7933file_storageby @arvidn in more immutablefile_storage#7983New Contributors
Full Changelog: v2.0.13...v2.1.0
This discussion was created from the release v2.1.0.
Beta Was this translation helpful? Give feedback.
All reactions