Optimize io_buf_read() a bit by calling read() again after the inital
authorclaudio <claudio@openbsd.org>
Wed, 14 Dec 2022 15:19:16 +0000 (15:19 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 14 Dec 2022 15:19:16 +0000 (15:19 +0000)
commit97f73431d103310b140c7b7de01a69ba5575449b
tree3d7881e2b672eb3886521e519e052abe4928d94c
parent78a064a0337b976791362fb118db57904926d638
Optimize io_buf_read() a bit by calling read() again after the inital
header of the buf was read. This often saves a round-trip to the main
event loop and poll(2).
OK job@ tb@
usr.sbin/rpki-client/io.c