View definition

(Client).DialDualStack

Defined in github.com/valyala/fasthttp/client.go

Description

Attempt to connect to both ipv4 and ipv6 addresses if set to true.

This option is used only if default TCP dialer is used, i.e. if Dial is blank.

By default client connects only to ipv4 addresses, since unfortunately ipv6 remains broken in many networks worldwide :)

DialDualStack is referenced in 1 repository

github.com/valyala/fasthttp