add tls version hardcode
All checks were successful
Create and publish a Docker image 🚀 / build-and-push-image (push) Successful in 2m3s
All checks were successful
Create and publish a Docker image 🚀 / build-and-push-image (push) Successful in 2m3s
This commit is contained in:
2
main.go
2
main.go
@@ -1,6 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"crypto/tls"
|
||||
"fmt"
|
||||
"log/slog"
|
||||
"net/http"
|
||||
@@ -28,6 +29,7 @@ func main() {
|
||||
|
||||
// Поддержка протоколов для браузера и MoQ
|
||||
tlsConfig.NextProtos = []string{"h3"}
|
||||
tlsConfig.MinVersion = tls.VersionTLS13
|
||||
|
||||
// 2. Инициализация MoQ сервера
|
||||
moqServer := moqt.Server{
|
||||
|
||||
Reference in New Issue
Block a user