Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Is there any way to set low level socket option like set_local_addresses ? #8

Open
hn-sl opened this issue Apr 7, 2022 · 2 comments

Comments

@hn-sl
Copy link

hn-sl commented Apr 7, 2022

Hello, I'm new to hyper-alpn. Does hyper-alpn support configuring low level socket option like HttpConnector does, e.g. set_local_addresses or set_keepalive ? From the docs, I don't see how can it be done.

@pimeys
Copy link
Contributor

pimeys commented Apr 7, 2022

Hah. Hey. No, I don't think so. I haven't used this myself for ages. It wraps tokio's TcpStream inside, that lets you to set these values. Feel free to do a PR that offers the API outside, it should not be super hard.

@HarryET
Copy link
Contributor

HarryET commented Aug 15, 2022

Hey @hn-sl, this project has a new maintainer and I'm trying to tidy up issues. Did this answer your question?

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

No branches or pull requests

3 participants