Skip to content

Conversation

maximevtush
Copy link
Contributor

Problem

The BlobClient attempts to recover from beacon API errors by creating a new http.Client, but uses the default client which shares the global connection pool. This defeats the purpose of trying to avoid problematic connections when switching between load-balanced backends.

Solution

Replace &http.Client{} with &http.Client{Transport: &http.Transport{DisableKeepAlives: true}} in the error recovery path to force fresh TCP connections.

@Tristan-Wilson Tristan-Wilson self-assigned this Oct 15, 2025
@Tristan-Wilson
Copy link
Member

I think this is fine to include in 3.9.x

@eljobe eljobe enabled auto-merge October 16, 2025 09:56
@eljobe eljobe added this pull request to the merge queue Oct 16, 2025
auto-merge was automatically disabled October 16, 2025 10:20

Pull Request is not mergeable

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 16, 2025
@eljobe eljobe added this pull request to the merge queue Oct 16, 2025
Merged via the queue into OffchainLabs:master with commit f4e849e Oct 16, 2025
21 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants