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
As awkwardly demonstrated in HttpOverSpdyTest.readResponseHeaderTimeout, we attempt to recover from timeouts on SPDY connections. But these timeouts are not connectivity problems; they're application-layer timeouts.
The test passes, even though we only ever establish a single SPDY connection to the server. This is two mistakes canceling each other out.
When we have an application-layer SPDY timeout, we shouldn't treat it as a connectivity problem and retry. When we have a socket-layer SPDY timeout, we should treat it as a connectivity problem.
The text was updated successfully, but these errors were encountered:
I investigated this. The trick is that sometimes there is a legitimate connectivity problem. The solution might be to use pings or something when a connection appears to be dead.
This was fixed recently but we didn't update the corresponding test case. This
updates the test and adds a few more to confirm that HTTP/2 failure recovery
works as it should.
Closes: #578
As awkwardly demonstrated in
HttpOverSpdyTest.readResponseHeaderTimeout
, we attempt to recover from timeouts on SPDY connections. But these timeouts are not connectivity problems; they're application-layer timeouts.The test passes, even though we only ever establish a single SPDY connection to the server. This is two mistakes canceling each other out.
When we have an application-layer SPDY timeout, we shouldn't treat it as a connectivity problem and retry. When we have a socket-layer SPDY timeout, we should treat it as a connectivity problem.
The text was updated successfully, but these errors were encountered: