How can I tell my Mojolicious Mojo::UserAgent to use only IPv4, is that possible somehow?
(something like: wget --inet4-only https://blabli.com)
Reason why I need this is that in Openshift Cluster where I use this Agent, IPv6 doesn't work.
How can I tell my Mojolicious Mojo::UserAgent to use only IPv4, is that possible somehow?
(something like: wget --inet4-only https://blabli.com)
Reason why I need this is that in Openshift Cluster where I use this Agent, IPv6 doesn't work.
You can force the use of ipv4 using the
IO::Socket::IPmodule to addsocket_optionsto the user agents socket.