mirror of
https://github.com/fatedier/frp.git
synced 2026-01-11 22:23:12 +00:00
return ssl alert unrecognized_name when https domain not registered (#3620)
This commit is contained in:
@@ -251,7 +251,7 @@ func (rp *HTTPReverseProxy) connectHandler(rw http.ResponseWriter, req *http.Req
|
||||
|
||||
remote, err := rp.CreateConnection(req.Context().Value(RouteInfoKey).(*RequestRouteInfo), false)
|
||||
if err != nil {
|
||||
_ = notFoundResponse().Write(client)
|
||||
_ = NotFoundResponse().Write(client)
|
||||
client.Close()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user