mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #2103] [MERGED] Allow server plugin to talk to https services. Option for skipping tls verification #4509
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#4509
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/fatedier/frp/pull/2103
Author: @mikehardenize
Created: 11/23/2020
Status: ✅ Merged
Merged: 12/3/2020
Merged by: @fatedier
Base:
dev← Head:server_plugin_tls📝 Commits (3)
900bb12Allow server plugin to talk to https services. Option for skipping tls verificationfb0c729Rename TlsVerify to TLSVerifyc613805Server plugin should use default http transport when scheme is not https📊 Changes
3 files changed (+37 additions, -13 deletions)
View changed files
📝
doc/server_plugin.md(+4 -3)📝
pkg/config/server_common.go(+9 -4)📝
pkg/plugin/server/http.go(+24 -6)📄 Description
This is in relation to https://github.com/fatedier/frp/issues/2102. It allows me to use the following server plugin config to talk to a https service without tls verification:
It is backwards compatible, so if you don't specify a schema, it will default to
http:as before. If you don't specifytls_verifyit will default totrue.I am not a golang programmer, so I apologise if the quality of my PR isn't good enough. I am happy to make changes if you need them.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.