Skip to content

Honor the configured transfer request window - #178

Open
OskarEichler wants to merge 1 commit into
net-ssh:masterfrom
OskarEichler:codex/upload-request-window
Open

Honor the configured transfer request window#178
OskarEichler wants to merge 1 commit into
net-ssh:masterfrom
OskarEichler:codex/upload-request-window

Conversation

@OskarEichler

Copy link
Copy Markdown

Problem: Uploads seeded one more request than configured, while zero or negative :requests/:read_size values could leave transfers stalled rather than failing at setup.

Fix: Validate and memoize positive transfer settings and seed exactly the configured upload request window.

Regression coverage: Adds focused upstream cases for exact request counts and invalid values. Upload: 11 runs / 86 assertions; download: 10 runs / 88 assertions. Full suite: 435 runs / 1,200 assertions with only the pre-existing Ruby 4 StartTest positional-hash/keyword expectation failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant