Commit 6ec1d3a
committed
broker: avoid spurious overlay peer warning
Problem: the broker complains of being unable to resolve
its upstream peer when bootstrapped via PMI, but the peer
uri is valid.
Warning: unable to resolve upstream peer [: Name or service not known
The URI is generated by 0mq after concretizing a wildcard bind address.
When ipv6 is enabled, 0mq puts the address in a form that cannot
be parsed by yuarel, nor can it be looked up by getaddrinfo(3), e.g.
tcp://[::ffff:134.9.50.69]:49155
Move the check into boot_config.c so that it is only performed when
the URIs come from a config file.
Fixes #52731 parent 7a64c5b commit 6ec1d3a
2 files changed
+37
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
495 | 499 | | |
496 | 500 | | |
497 | 501 | | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
498 | 534 | | |
499 | 535 | | |
500 | 536 | | |
| |||
623 | 659 | | |
624 | 660 | | |
625 | 661 | | |
| 662 | + | |
626 | 663 | | |
627 | 664 | | |
628 | 665 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
1264 | 1263 | | |
1265 | 1264 | | |
1266 | 1265 | | |
1267 | | - | |
1268 | | - | |
1269 | | - | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
1273 | | - | |
1274 | | - | |
1275 | | - | |
1276 | | - | |
1277 | | - | |
1278 | | - | |
1279 | | - | |
1280 | | - | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | | - | |
1287 | | - | |
1288 | | - | |
1289 | | - | |
1290 | | - | |
1291 | | - | |
1292 | | - | |
1293 | | - | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
1297 | | - | |
1298 | | - | |
1299 | | - | |
1300 | | - | |
1301 | 1266 | | |
1302 | 1267 | | |
1303 | 1268 | | |
1304 | 1269 | | |
1305 | 1270 | | |
1306 | 1271 | | |
1307 | 1272 | | |
1308 | | - | |
1309 | 1273 | | |
1310 | 1274 | | |
1311 | 1275 | | |
| |||
0 commit comments