Skip to content

Conversation

@mechite
Copy link
Contributor

@mechite mechite commented Nov 28, 2025

The null check that just output the message was previously not using
the lock, though I don't think it's a big issue and I'm not sure why
there is a lock in the first place.

I inherited that from Flupke, so it's better safe than sorry, though

I'm pretty sure System.Logger makes those guarantees, but so does even
System.out/System.err, so it's better to assume that ptrd had his
reasons for locking here

Signed-off-by: Mahied Maruf contact@mechite.com

The `null` check that just output the message was previously not using
the lock, though I don't think it's a big issue and I'm not sure why
there is a lock in the first place.

I inherited that from Flupke, so it's better safe than sorry, though

I'm pretty sure System.Logger makes those guarantees, but so does even
`System.out`/`System.err`, so it's better to assume that ptrd had his
reasons for locking here

Signed-off-by: Mahied Maruf <contact@mechite.com>
@SentryMan SentryMan merged commit 9de7a61 into avaje:http3 Nov 28, 2025
6 checks passed
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