hs-connection
hs-connection copied to clipboard
IPv6?
Is there a way to specify that I do not want to use IPv6?
Not being able to force ipv4 is currently breaking my software for many of my users in North America. Please help.
The part that actually create the client socket is in the network package Network.connectTo which doesn't have a way to specify the underlaying protocol. Which OS are you / your users using ? IIRC some system automatically choose to bind on AF_INET6 when you choose AF_INET unless you explicitly deactivate during your socket creation.
It would be ultimately a really good idea to provide first class support for being able to override the protocol in connection.
+1 we need that
We're on Arch Linux, using servant-client and http-client-tls for HTTPS support.
Can you strace / ltrace the socket calls and couple of line before / after ?
Maybe. As far as I can tell, the actually connection calls are all made by http-client-tls under the hood.
yes they are all made by http-client-tls with NC.connectTo.
The reason why I would like to see the strace is to see the result values for the addr resolution, which kind of socket types are created with which parameters, etc.
Ok, I'll do some testing later on.