[PR #2832] [MERGED] bugfix: Issue #2831 - Cant connect to frps behind ingress with tls #4633

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/2832
Author: @presidenten
Created: 3/10/2022
Status: Merged
Merged: 3/11/2022
Merged by: @fatedier

Base: devHead: issue#2831


📝 Commits (1)

  • b3d632a bugfix: Issue #2831 - Cant connect to frps behind ingress with tls

📊 Changes

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

View changed files

📝 pkg/transport/tls.go (+2 -1)

📄 Description

Fix for issue #2831

ServerName gets added to TLSConfig even if no ca has been added, so that SNI based routing works as intended.

image

🔄 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/2832 **Author:** [@presidenten](https://github.com/presidenten) **Created:** 3/10/2022 **Status:** ✅ Merged **Merged:** 3/11/2022 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `issue#2831` --- ### 📝 Commits (1) - [`b3d632a`](https://github.com/fatedier/frp/commit/b3d632ac14970c7d544e930ab23e48ea27993e4e) bugfix: Issue #2831 - Cant connect to frps behind ingress with tls ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `pkg/transport/tls.go` (+2 -1) </details> ### 📄 Description Fix for issue #2831 `ServerName` gets added to `TLSConfig` even if no ca has been added, so that SNI based routing works as intended. <img width="860" alt="image" src="https://user-images.githubusercontent.com/3883897/157684597-8c65acd5-61a9-4df2-8bbf-128c3553545b.png"> --- <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:45:46 -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#4633
No description provided.