Skip to content

Add a download limit for localhost on Linux - #116

Merged
soulgalore merged 1 commit into
mainfrom
localhost-download-limit
Oct 13, 2026
Merged

soulgalore merged 1 commit into
mainfrom
localhost-download-limit

Conversation

@soulgalore

Copy link
Copy Markdown
Member

WebPageReplay tests run on loopback, where throttle could only add latency, so pages always downloaded at memory speed. That hides regressions that cost bandwidth, like a heavier HTML page or a larger image.

The limit is for all traffic on loopback, because the browser and the server both send on it. Requests and ACKs are small, so it works as a download limit. A profile together with --localhost now uses the profile's download and RTT; before, it throttled the real network interface instead.

Assisted-by: Claude Opus 5.5 noreply@anthropic.com

WebPageReplay tests run on loopback, where throttle could only add latency, so pages always downloaded at memory speed. That hides regressions that cost
bandwidth, like a heavier HTML page or a larger image.

The limit is for all traffic on loopback, because the browser and the server both send on it. Requests and ACKs are small, so it works as a download
limit. A profile together with --localhost now uses the profile's download and RTT; before, it throttled the real network interface instead.

Assisted-by: Claude Opus 5.5 noreply@anthropic.com
@soulgalore
soulgalore merged commit 1a3dc8e into main Oct 13, 2026
6 checks passed
@soulgalore
soulgalore deleted the localhost-download-limit branch October 13, 2026 08:21
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