mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #1888] [MERGED] support non-preemptive authentication #4473
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#4473
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/1888
Author: @fzhyzamt
Created: 7/1/2020
Status: ✅ Merged
Merged: 7/1/2020
Merged by: @fatedier
Base:
dev← Head:patch-2📝 Commits (1)
062e04dsupport non-preemptive authentication📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
models/plugin/client/http_proxy.go(+1 -0)📄 Description
Non-preemptive authentication means that the Proxy-Authorization will not be actively sent when the tunnel is established, and this authentication will be brought after receiving the 407 response.
The server will now directly close the connection when the proxy verification fails, and the client will still send a request on this connection without knowing it, causing the client to report an error.
Therefore, you should explicitly return close when closing the connection.
In rfc7230#Connection
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.