mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #2791] [MERGED] use net.JoinHostPort instead of fmt.Sprintf #4625
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#4625
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/2791
Author: @fatedier
Created: 2/9/2022
Status: ✅ Merged
Merged: 2/9/2022
Merged by: @fatedier
Base:
dev← Head:fix-2696📝 Commits (1)
0e3f8c0use net.JoinHostPort instead of fmt.Sprintf📊 Changes
17 files changed (+61 additions, -49 deletions)
View changed files
📝
client/proxy/proxy.go(+6 -10)📝
client/visitor.go(+4 -3)📝
pkg/util/net/udp.go(+2 -1)📝
pkg/util/net/websocket.go(+2 -2)📝
pkg/util/tcpmux/httpconnect.go(+1 -1)📝
pkg/util/util/http.go(+0 -11)📝
pkg/util/util/util.go(+2 -1)📝
pkg/util/vhost/http.go(+3 -3)📝
server/group/tcp.go(+2 -2)📝
server/ports/ports.go(+3 -3)📝
server/proxy/tcp.go(+2 -1)📝
server/proxy/udp.go(+2 -1)📝
server/service.go(+6 -5)📝
test/e2e/basic/client_server.go(+20 -0)📝
test/e2e/mock/server/httpserver/server.go(+1 -2)📝
test/e2e/mock/server/streamserver/server.go(+2 -1)📝
test/e2e/pkg/port/port.go(+3 -2)📄 Description
Fix #2696
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.