On read failure just abort the rrdp request.
authorclaudio <claudio@openbsd.org>
Wed, 3 May 2023 07:51:08 +0000 (07:51 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 3 May 2023 07:51:08 +0000 (07:51 +0000)
commit334f0ce95892bcb33cdcbd0f4c27bcef2b987bb0
tree17bce2ee71afb7f2b6e639f80b01d3c41f427416
parentc927202dcce59305b6d2279b9daa0df902f413f0
On read failure just abort the rrdp request.

Before a read error would not be removed from the poll fds and trigger
constantly. RRDP_STATE_PARSE_ERROR should only be used for errors from
xml parser since then the remaining data from the socket still needs to
be consumed.
OK tb@
usr.sbin/rpki-client/rrdp.c