Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information