[Swan-dev] xauth delay

Antony Antony antony at phenome.org
Fri Feb 6 08:36:39 EET 2015


On Thu, Feb 05, 2015 at 08:44:24PM -0500, Paul Wouters wrote:
> >It doesn't seem as if delete_state deletes any pending event in
> >st->send_xauth_event.  This is likely a bug.
> 
> Yes. the original patch I wrote used our "standard" event, but that
> clobbered over our existing event for regular "timeout" of the entire
> exchange. So Antony used a new (parallel) event time to solve that. I
> guess this was an oversight that should be fixed. Either by going back

no. that is a choice. I don't think this can be mixed st_event. Otherwsie you may need differet timers to re-transmit main mode it that dropped. 
Overloading st_event should be avoided.

> to the standard event and chaining it with a standard event afterwards
> or by adding support to delete_state().

there is a delete in state.c commit 928b0e03

-antony


More information about the Swan-dev mailing list