mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-15 17:46:55 +00:00
Reject over capacity before finishing TLS handshake
This commit is contained in:
parent
26cddf5271
commit
a0b3e049d0
2 changed files with 28 additions and 12 deletions
|
@ -81,7 +81,8 @@ func main() {
|
|||
Addr: conf.SSLListenAddr,
|
||||
Handler: http.DefaultServeMux,
|
||||
TLSConfig: &tls.Config{
|
||||
GetCertificate: reloader.GetCertificateFunc(),
|
||||
GetCertificate: reloader.GetCertificateFunc(),
|
||||
GetConfigForClient: server.TLSEarlyReject,
|
||||
},
|
||||
}
|
||||
go func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue