IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#ls2
/2022/12/05
zzz good morning orignal, new problem for today:
zzz - I get a termination block reason 2 from i2pd
zzz - I immediately reply with a termination block reason 1
zzz - I immediately get _another_ termination block reason 2 from the peer ?!?
zzz so once I have my post-termination handler done, I'm going to send _another_ termination block reason 1 back
orignal let me check
orignal is it possible it was just a resend?
orignal if (IsEstablished () && buf[11] != eSSU2TerminationReasonTerminationReceived)
orignal RequestTermination (eSSU2TerminationReasonTerminationReceived);
orignal so I don't send 2 if I receive 1
zzz I don't think so because I'm getting the 2nd one about 125 ms after I send reason 1
orignal const int SSU2_RESEND_INTERVAL = 300; // in milliseconds
orignal so it's possible
zzz that's too short
orignal it's my resend timer
orignal actual resend interval is based on actual RTT
zzz can you double check buf[11] is the right place too?
orignal 11 seems right offset
zzz hmm
zzz I'm not sure what's happening then
zzz when I send the second one with reason 1, I don't get any more
orignal that's why I suspect retrans
zzz ok thanks. As an experiment I'm going to try not sending a response, to see what your retransmissions look like
zzz will let you know
orignal thanks