New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configuration for http2 #649
Comments
Why it should fail? You can define
We can work on this, please provide input on providing this flag or option in the config. PS: The recipe is little off, I will update it soon. |
I think we are in agreement then - but it does not fail for me. |
...unless that's maybe because of |
@tcurdt can you try without |
Ha!
with the files it then works (without graceful):
I guess then the question is how handle this in a |
@tcurdt We have e := echo.New()
s := standard.WithConfig(engine.Config{
Address: ":1323",
})
s.SetHandler(e)
graceful.ListenAndServeTLS(s.Server, "cert.pem", "key.pem", 5*time.Second) |
Description
I was following the example trying to start a http2 server (and also combine it with
graceful
).Checklist
Expected behaviour
If the TLS files are missing it should fail - but doesn't.
I should be able to define whether I want HTTP2 or not.
Actual behaviour
No HTTPS
Just plain old HTTP 1.1
I now even have the TLS files in place - but no clue if they are found or not. And it behaves the same way.
Steps to reproduce
Run the code below and use the
curl
lines from aboveWorking code to debug
Version/commit
The text was updated successfully, but these errors were encountered: