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

Websocket over SSL is very slow to compile #2975

Open
pfeatherstone opened this issue Jan 22, 2025 · 0 comments
Open

Websocket over SSL is very slow to compile #2975

pfeatherstone opened this issue Jan 22, 2025 · 0 comments

Comments

@pfeatherstone
Copy link

pfeatherstone commented Jan 22, 2025

I'm writing and HTTPS server with WSS support. I've noticed that it's extremely slow to compile and generates a very bloated binary.
I've tried #including only what I need from both Asio and Beast but that makes no difference.
HTTPS on its own is fine. HTTP + WS is fine. But HTTPS + WSS is mega slow to compile (like 30s to compile a single file)
Anybody noticed this before?
@vinniefalco what's the state of https://github.com/cppalliance/http_proto and https://github.com/cppalliance/ws_proto ?
I imagine you eventually want to replace Beast with your suite of "sans-io" libraries that sit on top of Asio right?

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

1 participant