mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3618] [Feature Request] Support SLL handshake alert code (112) when https domain is not found #2887
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#2887
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?
Originally created by @dong-zeyu on GitHub (Sep 17, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3618
Describe the feature request
For the https request, frps server will return a 404 Not Found code in HTTP protocol when the domain name is not found.
This violate the https/ssl standard.
Describe alternatives you've considered
A better way for the return would be
According to RFC4366, a SSL alert number 112 indicates
unrecognized_name.This matches our case exactly.
In Chrome it will show something like this.

I attach a patch here to address this issue. I can open a pull request for this patch if it sounds good to you. Thank you!
Affected area
@fatedier commented on GitHub (Sep 18, 2023):
Sounds good. PR is welcome.