Skip to content

网络请求超时时间设置问题 #74

Open
@packageOk

Description

@packageOk

Version of UCloud SDK?

1.2.19-release

Version of Java (java -version)?

java 8

What issue did you see?

你好,我比较关心网络请求超时时间,我看了下代码,默认的超时时间Config.timeout = 30,通过ValidationMiddleware类传到RequestOptions.$timeout中,然后就没找到其他地方会使用timeout了,DefaultTransport类里用HttpClient的时候,也没有设置相关超时时间的代码,所以有些担心超时时间是否有效,想请教下代码在哪里把超时时间传给HttpClient的

Steps to reproduce

If you have have an runnable example, please include it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions