Skip to content

http.Post 未传入timeout #17

@rockXiaofeng

Description

@rockXiaofeng

return &Client{
...
httpConnectTimeoutMs: 2000,
httpReadTimeoutMs: 1000,
}

为什么项目里面不使用这两个参数呢? 按照godoc: "A Timeout of zero means no timeout."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions