-
Notifications
You must be signed in to change notification settings - Fork 37
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
fasthttp http2 Whether connection-level health probes are supported #66
Comments
Hello, as far as I remember the client does ping the server using the PingInterval, but it doesn't close the connection if a number of pings failed. I'd accept a PR for that. |
Why only fasthttp.hostclient support http2 |
If the client fails to ping the server for many times, it hopes to close the connection in time, so that the request fails quickly and enters the retry logic |
defer c.Close Won't the connection be closed
If ack is enabled and the number of acks is greater than three times, it will jump out of the loop, and eventually it will execute until the defer closes the connection |
writeLoop AND readLoop The method is all the same logic |
Fasthttp HTTP2 Client looks like the code implementation has implemented connection-level health detection |
Yes, it seems like it. Is your question resolved? |
I use this library, it seems that I am still using http1, and the example in the code log does not run |
Does the server support HTTP/2? Are you connecting through TLS? |
Without using TLS, the example in my repository won't work in http2 |
Yes, the library only supports TLS. |
Do the client and server support TLS at the same time? |
No description provided.
The text was updated successfully, but these errors were encountered: