Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: implement proper download limit for uTP #6416

Merged
merged 4 commits into from
Jan 2, 2024

Conversation

tearfur
Copy link
Member

@tearfur tearfur commented Dec 21, 2023

Part 2 of a series to fix #6361.

See the discussion and description of this PR series at part 1 transmission/libutp#15.

@tearfur tearfur added scope:core type:fix A bug fix notes:none Should not be listed in release notes labels Dec 21, 2023
@tearfur tearfur added this to the 4.0.x milestone Dec 21, 2023
@tearfur tearfur force-pushed the utp-download-limit branch 3 times, most recently from 3485674 to bc25693 Compare December 22, 2023 07:53
@ckerr ckerr added the needs clarification More info is needed before work can proceed label Dec 23, 2023
@ckerr
Copy link
Member

ckerr commented Dec 23, 2023

@tearfur commented in the libutp PR

@tearfur tearfur removed the needs clarification More info is needed before work can proceed label Dec 24, 2023
@ckerr ckerr force-pushed the utp-download-limit branch from bc25693 to 6629670 Compare December 24, 2023 20:23
@ckerr
Copy link
Member

ckerr commented Dec 24, 2023

@tearfur OK to merge?

@tearfur
Copy link
Member Author

tearfur commented Dec 26, 2023

@ckerr Go ahead.

@ckerr ckerr force-pushed the utp-download-limit branch from 6629670 to d1ca1d2 Compare December 27, 2023 17:24
@ckerr ckerr force-pushed the utp-download-limit branch from d1ca1d2 to e467225 Compare January 2, 2024 05:59
@ckerr ckerr merged commit 5000ede into transmission:main Jan 2, 2024
21 checks passed
ckerr pushed a commit that referenced this pull request Jan 2, 2024
* fix: return read buffer size in libutp read buffer size callback

* refactor: clamp amount of data processed in `can_read_wrapper()`

* chore: housekeeping

* refactor: call `utp_read_drained()` in on-read callback

so that uTP acks can be sent out in a more timely fashion
@tearfur tearfur deleted the utp-download-limit branch January 2, 2024 12:05
tearfur added a commit to tearfur/transmission that referenced this pull request Jan 3, 2024
ckerr pushed a commit to tearfur/transmission that referenced this pull request Jan 3, 2024
tearfur added a commit to tearfur/transmission that referenced this pull request Jan 25, 2024
* fix: return read buffer size in libutp read buffer size callback

* refactor: clamp amount of data processed in `can_read_wrapper()`

* chore: housekeeping

* refactor: call `utp_read_drained()` in on-read callback

so that uTP acks can be sent out in a more timely fashion

(cherry picked from commit 5000ede)
tearfur added a commit to tearfur/transmission that referenced this pull request Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes:none Should not be listed in release notes scope:core type:fix A bug fix
Development

Successfully merging this pull request may close these issues.

Transmission 4.0.5 (a6fe2a64aa) ignores speed limit and bandwidth settings
2 participants