Commit 7190f1b
committed
Add IPv6 dual-stack support to HTTP and WebSocket servers
Enable hived webserver and cli_wallet websocket servers to listen on
IPv6 endpoints with dual-stack (accepting both IPv4 and IPv6 clients).
- Add tcp_pre_bind_handler to set v6_only(false) on websocketpp
acceptors when listening on IPv6 addresses, enabling dual-stack
- Update fc submodule: fix websocket_server::listen() to use proper
asio endpoint conversion (was crashing on IPv6), add pre-bind handler
for cli_wallet websocket servers, centralize fc<->asio conversion
helpers to eliminate duplication across 4 files1 parent 815c9fa commit 7190f1b
2 files changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
382 | 393 | | |
383 | 394 | | |
384 | 395 | | |
| |||
429 | 440 | | |
430 | 441 | | |
431 | 442 | | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
432 | 454 | | |
433 | 455 | | |
434 | 456 | | |
| |||
0 commit comments