[PR #322] [CLOSED] 👾 Enable ALPN and support HTTP/1.1 in transport.rs #244

Closed
opened 2025-12-29 07:20:02 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/322
Author: @Rnbsov
Created: 12/13/2025
Status: Closed

Base: mainHead: patch-1


📝 Commits (2)

  • e118fd3 Enable ALPN and support HTTP/1.1 in transport.rs
  • faae426 👾 Update transport.rs

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 src-tauri/yaak-grpc/src/transport.rs (+3 -3)

📄 Description

Updated transport.rs to enable ALPN for protocol negotiation and support both HTTP/1.1 and HTTP/2.

  • With a modern gRPC server: Uses HTTP/2 (faster, multiplexing, bidirectional streaming)
  • With an HTTP/1.1-only server: Falls back to HTTP/1.1 automatically
  • Backward compatible: Doesn't break existing HTTP/2 connections

closes: https://feedback.yaak.app/p/grpc-testing-over-http11


🔄 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/mountain-loop/yaak/pull/322 **Author:** [@Rnbsov](https://github.com/Rnbsov) **Created:** 12/13/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`e118fd3`](https://github.com/mountain-loop/yaak/commit/e118fd386a8f1ac8d42ecc5292afa058f09c94c9) Enable `ALPN` and support `HTTP/1.1` in `transport.rs` - [`faae426`](https://github.com/mountain-loop/yaak/commit/faae426397a54728f1729520edd871bdbdfabb0e) 👾 Update `transport.rs` ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src-tauri/yaak-grpc/src/transport.rs` (+3 -3) </details> ### 📄 Description Updated `transport.rs` to enable `ALPN` for protocol negotiation and support both `HTTP/1.1` and `HTTP/2`. - With a modern gRPC server: Uses HTTP/2 (faster, multiplexing, bidirectional streaming) - With an HTTP/1.1-only server: Falls back to HTTP/1.1 automatically - Backward compatible: Doesn't break existing HTTP/2 connections closes: https://feedback.yaak.app/p/grpc-testing-over-http11 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 07:20:02 +01:00
adam closed this issue 2025-12-29 07:20:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#244