kongzue / kongzue/BaseOkHttp

okhttpclient实际超时时间未与HttpRequest.TIME_OUT_DURATION字段同步

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
16
Forks
3
PR merge metrics
No merged PRs in 30d

Description

如题,HttpRequest中的getOkHttpClient方法中设置的TimeOut未与HttpRequest.TIME_OUT_DURATION字段同步,同时MultiFileRequest中的OkHttpClient对象是通过new OkHttpClient()实例化的,如需同步也应该使用build构造

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting HttpRequest.getOkHttpClient and the TIME_OUT_DURATION field, then compare how the OkHttpClient is created in MultiFileRequest. Check the existing request behavior and confirm that both clients use the intended timeout value when the change is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
api, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.