summaryrefslogtreecommitdiff
path: root/Logs/Transfer.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-18 17:19:41 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-18 17:19:41 -0400
commit467844d7d3f703f99fcde1f951f33efda5e90074 (patch)
treef8a99f3eb12fed2ddda2c9b237c1436c64a18c20 /Logs/Transfer.hs
parentba27483c6a00ba36fd57150f338afc540d10b7f9 (diff)
prefer ipv4 localhost when both are available
The webapp can only run on one of ipv4 and ipv6, no both. Some web browsers may not support ipv6, so ipv4 is the safe choice. The actual problem I ran into with it only listening to ipv6 was that Utility.Url.exists was failing to connect to it. I doubt that haskell's HTTP library is ipv4 only. More likely, it was only trying one address, and tried ipv4 first.
Diffstat (limited to 'Logs/Transfer.hs')
0 files changed, 0 insertions, 0 deletions