public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
* onlinedeadline prevents checksum from running
@ 2021-05-10  2:22 John Goerzen
  2021-05-10  3:36 ` John Goerzen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: John Goerzen @ 2021-05-10  2:22 UTC (permalink / raw)
  To: nncp-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-30 16:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10  2:22 onlinedeadline prevents checksum from running John Goerzen
2021-05-10  3:36 ` John Goerzen
2021-05-10 16:40 ` Sergey Matveev
2021-05-30 16:53 ` Sergey Matveev