Skip to content

--latency-buffer-size now impacts server's buffer.#587

Merged
brianmay merged 1 commit intosshuttle:masterfrom
skuhl:fix-server-latency-buffer
Jan 22, 2021
Merged

--latency-buffer-size now impacts server's buffer.#587
brianmay merged 1 commit intosshuttle:masterfrom
skuhl:fix-server-latency-buffer

Conversation

@skuhl
Copy link
Contributor

@skuhl skuhl commented Jan 18, 2021

sshuttle has a --latency-buffer-size parameter, but it only changes
the buffer size on the client and not the server. Therefore,
increasing or decreasing the number doesn't make any change in
download performance (like the documentation indicates that it should).

You can test this change by setting up a sshuttle connection and
downloading a large file through sshuttle. With this patch, you should
find that increasing --latency-buffer-size increases the download
speed. Without the patch, the parameter should have little impact on
performance.

sshuttle has a --latency-buffer-size parameter, but it only changes
the buffer size on the client and not the server. Therefore,
increasing or decreasing the number doesn't make any change in
download performance (like the documentation indicates that it should).

You can test this change by setting up a sshuttle connection and
downloading a large file through sshuttle. With this patch, you should
find that increasing --latency-buffer-size increases the download
speed. Without the patch, the parameter should have little impact on
performance.
@brianmay brianmay merged commit 127cac3 into sshuttle:master Jan 22, 2021
@skuhl skuhl deleted the fix-server-latency-buffer branch March 9, 2021 21:32
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.

2 participants