[PR #4606] [CLOSED] Implement HTTP/2 to HTTP/1.1 downgrade support if the request is GRPC… #5011

Closed
opened 2026-05-05 14:53:00 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/4606
Author: @sword-jin
Created: 12/24/2024
Status: Closed

Base: devHead: always_try_h2_if_the_request_is_grpc


📝 Commits (2)

  • ae5fe4c Implement HTTP/2 to HTTP/1.1 downgrade support if the request is GRPC in reverse proxy
  • 3a5c2bf Update pkg/util/vhost/http.go

📊 Changes

1 file changed (+51 additions, -23 deletions)

View changed files

📝 pkg/util/vhost/http.go (+51 -23)

📄 Description

resolve: #4563

force to use h2 transport only for grpc request


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/4606 **Author:** [@sword-jin](https://github.com/sword-jin) **Created:** 12/24/2024 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `always_try_h2_if_the_request_is_grpc` --- ### 📝 Commits (2) - [`ae5fe4c`](https://github.com/fatedier/frp/commit/ae5fe4c8a6a0d2690924f4ace1f27561ae4717cb) Implement HTTP/2 to HTTP/1.1 downgrade support if the request is GRPC in reverse proxy - [`3a5c2bf`](https://github.com/fatedier/frp/commit/3a5c2bf06a856832a1838426013780ffd20d8023) Update pkg/util/vhost/http.go ### 📊 Changes **1 file changed** (+51 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `pkg/util/vhost/http.go` (+51 -23) </details> ### 📄 Description resolve: #4563 force to use h2 transport only for grpc request --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:53:00 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#5011
No description provided.