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
Fix: Staled cache response used when system time adjusted backward (#8077)
* Fix: Staled cache response used when system time adjusted backward。
OkHttp would incorrectly use a cached response for a second request if the server's first response did not contain caching headers, if the system time was adjusted backward between the two requests。
* clamp each of the durations to be non-negative instead of doing that to the overall result
---------
Co-authored-by: luxinwei <[email protected]>
0 commit comments