Change the order of the poll loop to first process active http connections
authorclaudio <claudio@openbsd.org>
Thu, 8 Apr 2021 16:56:34 +0000 (16:56 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 8 Apr 2021 16:56:34 +0000 (16:56 +0000)
commit9b8c2dd80baa30a313dd2c9f2edfe21c2026e78e
tree346813ac53ebd8eaefda9c20eb9392a9fe1e84df
parent47d3b88a4338e0e8a9785bd3e02e5b3c17e6f986
Change the order of the poll loop to first process active http connections
and then accept new ones. This way there is no risk of processing a new
connection before poll() was called.
OK tb@ as part of a larger diff
usr.sbin/rpki-client/http.c