Skip to content

Lost repsonse and no error return #59

@lrita

Description

@lrita

Someone api will cost N ms.

If we SetTimeout M ms (N< M < 2N) to Client and we call this api twice, the server side will receive three request and send three response.

In client side, user only see 2 api call but 3 api call be sent actually.

This issue will be duplicated in go 1.7.3, here is the code.

I found a bad implement of SetTimeout and fix it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions