public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: nncp-devel@lists.cypherpunks.ru
Subject: Re: [PATCH] Check before closing potentially nil channel
Date: Sun, 30 Oct 2022 18:31:56 +0300	[thread overview]
Message-ID: <Y16Y7J/JGyuyNfCS@stargrave.org> (raw)
In-Reply-To: <1666969366.c6f2phfxws.astroid@zuni.home.arpa>

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

Greetings!

*** Emery Hemingway [2022-10-28 15:05]:
>I had a problem here when the nncp-daemon starts up with while being
>spammed by new connection requests.

Thank you for noticing that bug! Fixed in 8.8.1 release.
Thanks for the patch, but it should also fail (however I did not check)
because of similarly closed autoTossBadCode channel. I just reused the
same condition (nodeId != nil).

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: 12AD 3268 9C66 0D42 6967  FD75 CB82 0563 2107 AD8A

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      reply	other threads:[~2022-10-30 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-28 15:05 [PATCH] Check before closing potentially nil channel Emery Hemingway
2022-10-30 15:31 ` Sergey Matveev [this message]