mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 05:35:56 +03:00
[PR #2004] [MERGED] fix: gRPC/HTTP2 negotiation by enabling h2 protocol in TLS configEnable HTTP/2 #2009
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#2009
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fsouza/fake-gcs-server/pull/2004
Author: @RageZBla
Created: 8/19/2025
Status: ✅ Merged
Merged: 8/25/2025
Merged by: @fsouza
Base:
main← Head:HTTP-2-PRI📝 Commits (1)
740b1eaEnable HTTP/2📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
main.go(+1 -0)📄 Description
Problem
gRPC requests were failing with 404 errors because the server couldn't negotiate HTTP/2 connections properly.
Solution
Added
tlsConfig.NextProtos = []string{"h2"}to enable HTTP/2 protocol negotiation in the TLS configuration.Testing
Before
logs:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.