Skip to content

网络是正常的情况下出现超时 #276

Description

@jessicazhou111

遇到一个问题。 在网络正常的情况下会出现
connection timed out

情况描述: zltool作为http客户端。 前一个请求服务器正常(域名解析过了),后一个同样的情况会出现偶尔出现connection timed out, connect超时。

Image 看代码,这个地方是异步connect非阻塞的,连接的成功与否是epoll去判断。 理论上是不是出现如下超时才对。 Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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