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

Refactor unsafe code #226

Open
turuslan opened this issue Nov 27, 2023 · 1 comment
Open

Refactor unsafe code #226

turuslan opened this issue Nov 27, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@turuslan
Copy link
Contributor

  • read/write lambda captures Bytes - use sptr<Bytes> or SharedFn
    • src/protocol/gossip/impl/stream.cpp Stream::beginWrite
@turuslan
Copy link
Contributor Author

Corrupted messages on "/ws" in YamuxedConnection::doWrite (seems like std::function or boost asio handler didn't move Bytes, but copied it)

@dhuseby dhuseby added the help wanted Extra attention is needed label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants