Skip to content

Add TCP socket initializer to HttpConnector - #344

Closed
orielhaim wants to merge 1 commit into
hyperium:masterfrom
orielhaim:feat/tcp-socket-initializer
Closed

orielhaim wants to merge 1 commit into
hyperium:masterfrom
orielhaim:feat/tcp-socket-initializer

Conversation

@orielhaim

@orielhaim orielhaim commented Oct 27, 2026 •

Copy link
Copy Markdown

Adds set_socket_initializer to HttpConnector, allowing callers to configure TCP sockets before binding and connecting
The callback runs for each new socket and can return an error to reject a connection attempt
Useful for socket options that aren't directly exposed by the connector

  • The description, docs, and comments (words meant for humans) are written by a human, not by an LLM.

@seanmonstar

Copy link
Copy Markdown
Member

Thanks for contributing. But I'd rather not add this additional complexity.

@cratelyn cratelyn closed this Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants