public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
From: John Goerzen <jgoerzen@complete•org>
To: nncp-devel@lists.cypherpunks.ru
Subject: onlinedeadline prevents checksum from running
Date: Sun, 09 May 2021 21:22:23 -0500	[thread overview]
Message-ID: <875yzrgwf4.fsf@complete.org> (raw)

Hi Sergey,

Three bug reports in one weekend.  Sorry about that :-)

So I have a situation where I was receiving a 250GB packet.  I'm 
not quite sure why it got interrupted -- it seems maybe a locking 
issue with nncp-toss -- but anyhow, it did.  I was running 
nncp-call -onlinedeadline 10 in a loop (making sure to download 
all the packets from the remote).  I noticed it wasn't progressing 
-- getting about 2GB in and then hanging.  Why was that?

It was the -onlinedeadline 10.  Got rid of that and then it 
progressed like it should.

I think there needs to be logic that the checksumming of a 
completed packet doesn't get interrupted by the onlinedeadline, 
since it could take significantly longer than one might tend to 
set the onlinedeadline for.

Thanks!

- John

             reply	other threads:[~2021-05-10  2:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10  2:22 John Goerzen [this message]
2021-05-10  3:36 ` onlinedeadline prevents checksum from running John Goerzen
2021-05-10 16:40 ` Sergey Matveev
2021-05-30 16:53 ` Sergey Matveev