Closed xihuan22d closed 6 years ago
Google Translate: Okhttp-urlconnection3.10.0, there is a socket handle leak problem, APP will flash back when it reaches 1000 handle
Please provide a reproducible test case.
I write a demo to Reproduce the bug
https://github.com/xihuan22d/OKHttpBugTest
Only 3.10.0 ?
below 3.10.0 also have this probelm
You shouldn't be creating a new OkHttp client instance per request
https://github.com/xihuan22d/OKHttpBugTest/blob/master/app/src/main/java/com/my/okhttpbugtest/OkHttpUtils.java#L21
ok,thanks
Please provide a reproducible test case.