opened
lightai
username_0
Handle the situation: user adjust system time(fall back),we don't request network timely
http age calculations wrong because of phone time fall back
issue
created
swankjesse
username_1
Just so I’m clear: is this an attempt to deal with users overriding their system clocks to set the time into the future, then setting it back?
comment
created
lightai
username_0
yes. this situation can lead to okhttp use local cache longer time than expected
comment
created
swankjesse
username_1
I don’t think this is the right solution to the problem. It’s difficult to know whether the time is currently wrong, or if it was wrong at the time of the response. And this change means that small adjustments to the system time can break the cache. Typically small adjustments are the only ones we expect to see.
comment