Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UrlRequest.Callback 处理请求能加个超时吗 #4

Open
GeminiX369 opened this issue Jul 25, 2024 · 0 comments
Open

UrlRequest.Callback 处理请求能加个超时吗 #4

GeminiX369 opened this issue Jul 25, 2024 · 0 comments

Comments

@GeminiX369
Copy link

UrlRequest.Callback 处理请求能加个超时吗?绝大部分情况下Cronet库有错误也会返回,但有小概率一直既不返回成功也不返回失败,就一直卡在那里,就很烦人。希望能给UrlRequest.Callback整个处理过程加个超时,超时一直不返回就取消。无论是直接用Cronet还是用Okcronet,遇见一直卡住不返回的情况好几次了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant