1
0
Fork 0
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:
Kane York 2017-11-13 12:48:56 -08:00
parent 26cddf5271
commit a0b3e049d0
2 changed files with 28 additions and 12 deletions

View file

@ -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() {