Nick Craig-Wood cffe85e6c5 fshttp: fix --bind 0.0.0.0 allowing IPv6 and --bind ::0 allowing IPv4
Due to a bug/misfeature in the go standard library as described here:
https://github.com/golang/go/issues/48723 the go standard library
binds to both IPv4 and IPv6 when passed 0.0.0.0 or ::0.

This patch detects the bind address and forces the correct IP
protocol.

Fixes #6124
Fixes #6244
See: https://forum.rclone.org/t/issues-with-bind-0-0-0-0-and-onedrive-getting-etag-mismatch-when-using-ipv6/41379/
2023-09-01 10:47:39 +01:00
..
2023-06-30 14:11:17 +01:00
2023-07-28 09:23:34 +09:00
2023-08-03 14:51:49 +01:00
2023-06-30 14:11:17 +01:00
2023-06-30 14:11:17 +01:00
2023-03-24 20:49:00 +00:00
2023-06-30 14:11:17 +01:00
2023-08-18 11:57:25 +01:00
2023-02-04 13:32:26 +01:00
2023-07-02 11:16:07 +01:00
2022-07-06 11:25:31 +01:00
2023-08-09 11:32:45 +01:00
2023-06-30 14:11:17 +01:00
2023-06-30 14:11:17 +01:00
2023-07-27 12:36:50 +09:00
2023-06-30 14:11:17 +01:00
2023-03-24 20:49:00 +00:00
2023-06-30 14:11:17 +01:00
2023-06-30 14:11:17 +01:00
2023-06-30 14:11:17 +01:00