Repository navigation
Support configurable IPv4 listener addresses - #6
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LAN applications could not select a listener address because every backend bound to loopback. Add
Config.bind_addresswith the existing loopback default, an allocation-free numeric IPv4 parser, and--bind-addresson the executable. Linux/macOS listeners and Windows direct/acceptor listeners use the selected address; listenerless Windows destinations stay listenerless.The setting is fixed-size startup configuration. Existing admission limits, budgets, and backpressure continue to apply. Old transport constructors preserve their defaults. README, embedding/transport guides, and the HTML engineering paper describe wildcard and specific-address use.
Validation passed at
3f0ef4644ddb51092a0580c207fc5e0f2c5de9a0:New cases cover default/explicit/wildcard binding, admission refusal and recovery, invalid startup input, Linux alternate loopback, and Linux/Windows sharding. Windows admission checks recognize both reset and aborted accepted sockets, while still requiring two acknowledged live connections, a rejection counter, and later recovery. No LAN throughput or deployment qualification is claimed.
This is the engine prerequisite for Baz PR #7. No TLS, IPv6, hostname resolution, or runtime rebinding is added.