feat(backend-http): http2 check
This commit is contained in:
parent
a8e54f1062
commit
e6396ca4e7
1 changed files with 3 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ import (
|
|||
"os/signal"
|
||||
"syscall"
|
||||
|
||||
"golang.org/x/net/http2"
|
||||
|
||||
|
||||
"openreplay/backend/pkg/env"
|
||||
"openreplay/backend/pkg/flakeid"
|
||||
|
|
@ -131,6 +133,7 @@ func main() {
|
|||
}
|
||||
}),
|
||||
}
|
||||
http2.ConfigureServer(server, nil)
|
||||
go func() {
|
||||
if err := server.ListenAndServe(); err != nil {
|
||||
log.Fatalf("Server error: %v\n", err)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue