valyala / fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT License
21.91k stars 1.76k forks source link

BUGFIX: HostClient.DialDualStack not work when using DoDeadline #1634

Closed cloudfly closed 1 year ago

cloudfly commented 1 year ago

If HostClient has DialDualStack=true and there is no custom Dial method specified, the DialDualStack setting will not work when sending requests using DoDeadline or DoTimeout.

This issue was introduced in this commit

erikdubbelboer commented 1 year ago

Thanks! Good find!