refactor: rename peer_socket_tos to peer_socket_diffserv (#8004)

This commit is contained in:
Yat Ho
2025-12-26 01:05:50 +08:00
committed by GitHub
parent 5602bcc74b
commit 11ead87f8d
16 changed files with 43 additions and 43 deletions

View File

@@ -117,7 +117,7 @@ Here is a sample of the three basic types: respectively Boolean, Number and Stri
* **peer_congestion_algorithm:** String. This is documented on https://www.pps.jussieu.fr/~jch/software/bittorrent/tcp-congestion-control.html.
* **peer_limit_global:** Number (default = 200)
* **peer_limit_per_torrent:** Number (default = 50)
* **peer_socket_tos:** String (default = "le") Set the [DiffServ](https://en.wikipedia.org/wiki/Differentiated_services) parameter for outgoing packets. Allowed values are lowercase DSCP names. See the `tr_tos_t` class from `libtransmission/net.h` for the exact list of possible values.
* **peer_socket_diffserv:** String (default = "le") Set the [DiffServ](https://en.wikipedia.org/wiki/Differentiated_services) parameter for outgoing packets. Allowed values are lowercase DSCP names. See the `tr_diffserv_t` class from `libtransmission/net.h` for the exact list of possible values.
* **reqq:** Number (default = 2000) The number of outstanding block requests a peer is allowed to queue in the client. The higher this number, the higher the max possible upload speed towards each peer.
* **sequential_download** Boolean (default = false) Enable sequential download by default when adding torrents.