Skip to content

Conversation

@psFried
Copy link
Contributor

@psFried psFried commented Mar 16, 2024

This change is Reviewable

@psFried psFried requested a review from jgraettinger March 16, 2024 17:06
The `InstallFileTransport` function used `http.DefaultTransport`, which implicitly enables http2.
This meant that passing `--broker.file-root` would sneakily enable http2 when fetching fragments.
The solution is to just use the transport from `httpClient`.
This updates that function to use the transport of the current client, so that
Copy link
Contributor

@jgraettinger jgraettinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@psFried psFried merged commit 3da60fd into master Mar 16, 2024
@psFried psFried deleted the phil/http1-for-real branch March 16, 2024 17:49
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.

3 participants