We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b62536 commit 78e2829Copy full SHA for 78e2829
_examples/experimental/http2/main.go
@@ -11,6 +11,7 @@ import (
11
"os/signal"
12
"runtime"
13
"strconv"
14
+ "strings"
15
"syscall"
16
"time"
17
@@ -77,9 +78,9 @@ func channelSubscribeAllowed(channel string) bool {
77
78
}
79
80
func main() {
- //if !strings.Contains(os.Getenv("GODEBUG"), "http2xconnect=1") {
81
- // panic("required to use GODEBUG=http2xconnect=1")
82
- //}
+ if !strings.Contains(os.Getenv("GODEBUG"), "http2xconnect=1") {
+ panic("required to use GODEBUG=http2xconnect=1")
83
+ }
84
85
flag.Parse()
86
0 commit comments