You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
totally I need a way to http2 sendRquest(...) in a not very good network, sometimes it lose packet so connect will wait seconds until timeout, but if recall in another process it can success quickly.
Now the kuma::HttpRequest::close() and sendRequest in timer seems useless.
And even I force SocketBase::connect timeout_ms to 100ms and close&sendRequest after first400ms is no response come, In rare cases I wait many seconds to get first error Callback and after then the close&sendRequest can tack effect.
So is someway to force destroy socket of HTTP2 in any situation and reconnect?
while TcpSocket::Impl::connect has timeout_ms arg,
but TcpConnection didn't pass this arg.
close() outside seems useless when connecting.
I had to insert this code into SocketBase::connect
and then it seems better to quick reconnect.
The text was updated successfully, but these errors were encountered: