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

possible to implement an example that uses http2 tls terminating client? #52

Open
sprappcom opened this issue Aug 8, 2024 · 4 comments

Comments

@sprappcom
Copy link

need h2 terminating tls client example. the one shown is half done

@ihciah
Copy link
Member

ihciah commented Aug 24, 2024

There are basicly 2 ways to do it:

  1. Use our modified h2(with pure async read/write). However, this is still unstable now. @har23k was working on it previously.
  2. Use the original h2 crate. h2 crate relies on poll-style read/write, so it needs to enable the "poll-io" feature of monoio. In this case, pure epoll or epoll over iouring is used. However, momoio-tls only provide a async style wrapper, so it is unimplemented yet. I will implement the ability soon(maybe within 1 months).

@har23k Could you update the progress about native h2 support?

@har23k
Copy link
Contributor

har23k commented Aug 28, 2024

@sprappcom: If you are looking for a HTTP/2 TLS client, then please check this testcase. Furthermore, we have a client which can support both HTTP/2 and HTTP/1/1 with or without TLS. See monoio-transports for more details.

@har23k
Copy link
Contributor

har23k commented Aug 28, 2024

@har23k Could you update the progress about native h2 support?

Native H2 support is now fully implemented, and no new bugs have been reported so far.

@sprappcom
Copy link
Author

@har23k ok. will look into it. thx

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