Re: rpki-client don't hang on rrdp hash errors

2021-04-06 Thread Theo Buehler
On Tue, Apr 06, 2021 at 06:08:04PM +0200, Claudio Jeker wrote: > When an rrdp request fails because the hash of a delta or snapshot is > incorrect the repo never finishes because the setting of > RRDP_STATE_PARSE_DONE and the call to rrdp_finished() is skipped. > The result is a hanging rpki-client

rpki-client don't hang on rrdp hash errors

2021-04-06 Thread Claudio Jeker
When an rrdp request fails because the hash of a delta or snapshot is incorrect the repo never finishes because the setting of RRDP_STATE_PARSE_DONE and the call to rrdp_finished() is skipped. The result is a hanging rpki-client until the alarm kills it after 1h. This simple diff should fix the is