nokia / restful

A powerful RESTful framework for Go.
BSD 3-Clause "New" or "Revised" License
17 stars 14 forks source link

check context before dial #35

Closed zombi-HU closed 2 years ago

zombi-HU commented 2 years ago

If there is no answer for tcp syn during the dial, the dial timeout happened. The context is cancelled, but the dial is not know that, so it tries again to connect.