Check if thread is interrupted before opening connection
On an old version of okhttp, opening connection clears the thread interrupt flag silently. This is a workaround to reduce the effect of the bug. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=161784435
Showing
with
3 additions
and
0 deletions
Please
register
or
sign in
to comment