-
Notifications
You must be signed in to change notification settings - Fork 573
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
Rewrite ./botan tls_http_server using Boost Beast #3763
Rewrite ./botan tls_http_server using Boost Beast #3763
Conversation
faa5d3e
to
6512476
Compare
6512476
to
3c016ac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't have time for a full review right now. Generally a fine idea (the existing HTTP "parser" is 😭 so happy to see that go)
3c016ac
to
aaac73e
Compare
Rebased after #3764 got merged. |
aaac73e
to
e8bf4a2
Compare
f346301
to
cc73f00
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks looks good and a very nice improvement. Also a good way of testing the waters re coroutines
cc73f00
to
9da30e0
Compare
Co-Authored-By: Fabian Albert <[email protected]>
9da30e0
to
d584520
Compare
Its definitely nice to see that coroutines pretty much "just worked" with the existing code base. I'm super happy to see this fall into place so nicely. |
Pull Request Dependencies
Refactor: Modernize asio TLS Stream #3764Description
Using the modernizations of #3764, this re-implements the
./botan tls_http_server
using Botan's TLS asio stream and boost Beast with C++20 co-routines.Currently, in CI this will compile on Windows, macOS and Linux (with GCC). On Linux (with clang) the boost version provided by
apt install
isn't recent enough to support co-routines. As a result, the./botan tls_http_server
command is not available and the respective tests intest_cli.py
are skipped.Closes #3659.