telehash/telehash-c

chan_ack should not set seq value

Closed this issue · 2 comments

https://github.com/telehash/telehash-c/blob/master/lib/chan.c#L295

The call to chan_seq_ack returns a packet with a seq value in it.

According to the spec, the bare ack should not have a seq, which will allow it to be filtered out from chan_pop delivery.

Yes, definitely a bug :)

There's been a decent amount of refactoring as I try to map a socket interface atop channels so it could still be a bit unstable, but hopefully it's a net-win here soon :)