Commit fb441da
committed
syscall: make LoadConnectEx not IPv4-specific on Windows
Calls to Socket in LoadConnectEx always fail with the error
"An address incompatible with the requested protocol was used"
when IPv4 is disabled on Windows. We can work around this by
detecting that specific error and retrying with an IPv6 socket.
Fixes #297591 parent 3f94f3d commit fb441da
1 file changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
1097 | 1098 | | |
1098 | 1099 | | |
1099 | 1100 | | |
1100 | | - | |
1101 | | - | |
1102 | | - | |
1103 | | - | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
1104 | 1111 | | |
1105 | 1112 | | |
1106 | 1113 | | |
| |||
0 commit comments