-
-
Notifications
You must be signed in to change notification settings - Fork 772
Closed
Description
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.