mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[PR #4151] [MERGED] return 504 instead of 404 for proxy type http request timeout #4930
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#4930
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/4151
Author: @fatedier
Created: 4/11/2024
Status: ✅ Merged
Merged: 4/11/2024
Merged by: @fatedier
Base:
dev← Head:new📝 Commits (1)
f7e168breturn 504 instead of 404 for proxy type http request timeout📊 Changes
22 files changed (+162 additions, -74 deletions)
View changed files
📝
.golangci.yml(+1 -5)📝
Release.md(+3 -1)📝
client/admin_api.go(+1 -1)📝
client/connector.go(+17 -17)📝
client/proxy/proxy.go(+3 -3)📝
go.mod(+1 -1)📝
go.sum(+2 -2)📝
pkg/plugin/client/http2https.go(+7 -1)📝
pkg/plugin/client/http_proxy.go(+2 -1)📝
pkg/plugin/client/https2http.go(+9 -1)📝
pkg/plugin/client/https2https.go(+10 -2)📝
pkg/plugin/client/static_file.go(+2 -1)📝
pkg/util/log/log.go(+30 -0)📝
pkg/util/net/dial.go(+3 -3)📝
pkg/util/net/websocket.go(+4 -2)📝
pkg/util/vhost/http.go(+9 -21)📝
pkg/util/vhost/https_test.go(+1 -1)📝
server/service.go(+5 -4)📝
test/e2e/framework/framework.go(+1 -1)📝
test/e2e/framework/process.go(+3 -3)...and 2 more files
📄 Description
WHY
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.