rakshasa / libtorrent

libTorrent BitTorrent library
http://rtorrent.net/downloads/
GNU General Public License v2.0
892 stars 209 forks source link

Commit 0f957c2 breaks rtorrent IPV4 TOS setting. #243

Open Antorell opened 1 year ago

Antorell commented 1 year ago

Just a head's up for future reference, commit 0f957c2 fixes IPV6 TOS but it breaks TOS for IPV4 traffic. With this commit, any value set to network.tos.set will ignored for IPV4 traffic.

network.tos.set = 0x04

With the commit IPV4 IPV4-commit IPV6 commit

. Without commit 0f957c2 (git apply --reverse commit.patch) IPV4 IPV4-commit-removed IPV6 commit-removed