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

(dev) Fix stream segfault; downgrade common warning logs #144

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

jagerman
Copy link
Member

Dev branch version of #143

The stream can get destroyed before the send_impl's lambda fires.

This fixes it by adding a Stream weak ptr to avoid that when send() is
not already inside the event loop.
These two logs, in particular:

    Server could not verify regular token!

    Error: connection could not be created

fire incredibly often in storage server (which, at default log level,
has quic at warning level), most likely because of expired (or sleeping)
incoming quic connections.

These are neither problems to be fixed, nor problems that even can be
fixed, so warning seems too high for them and so this downgrades them to
info level.
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

Successfully merging this pull request may close these issues.

2 participants