retrofit by using okhttp with dispatch multi http post request will error
Author: minwalkerCreated Sep 8, 2020Updated Jan 16, 2026
when we use retrofit 2.5 with okhttp 3 when change OkHttpClient().dispatcher().setMaxRequestsPerHost(10);
we found sometimes our post request A remote address and B remote address all result by json, retrofit's okhttpCall will get a wrong A will get B result json
Source: lysine-dev/retrofit