Open mhutter opened 5 years ago
+1
Has something been done about this in the past year?
This seems rather important in order to use HTTP2
push as in the server push example. (I cannot get it to work)
What I usually do as a workaround in those cases:
--immediate
flagThanks for the answer @mhutter , however, I tried running:
gin run example.go --immediate
However still the same problem. I'm using the command line RunTLS(":3001", "server.crt", "server.key")
which works with go run example.go
but not with the above command.
If the app being served is a HTTPS server, gin cannot connect to it.
Proposal: Add a
--tls
flag to indicate that the backend is a TLS listener