zacharygolba / via

A multi-threaded async web framework for people who appreciate simplicity.
Apache License 2.0
1 stars 0 forks source link

feat(via): TLS and HTTP/2 support via rustls #20

Closed zacharygolba closed 1 month ago

zacharygolba commented 1 month ago

Adds support for HTTP/2 and HTTPS via Rustls.

zacharygolba commented 1 month ago

This should be working although I haven't had a chance to test the TLS integration yet. I'll add some comments and an example after lunch.

zacharygolba commented 1 month ago

Trailers should be working if the http2 feature is enabled. You can test it without using by using the following curl args: -v --http2-prior-knowledge --raw.

zacharygolba commented 1 month ago

I think I'm going to shift my attention to IoStream as I think there may be some things that I'll need to fix before finishing the rest of this.

zacharygolba commented 1 month ago

This can merge after #19 unless anyone has any suggestions.

zacharygolba commented 1 month ago

I think this can merge whenever. I'll probably wait until the end of the day today (roughly 5 PM UTC−05:00).