/* sk->type -1 is invalid value, a correct value MUST be set in the specific transport layer in open_fp() hook */
sk->type = -1;
+ sk->fast_rx = 1; /* We need to load the ROAs DAMN FAST */
sk->tx_hook = rpki_connected_hook;
sk->err_hook = rpki_err_hook;
sk->data = cache;
/* Read until task limit is up */
if (read && (rev & POLLIN))
- while ((s == loop->sock_active) && s->rx_hook && sk_read(s, rev) && task_still_in_limit())
+ while ((s == loop->sock_active) && s->rx_hook && sk_read(s, rev) && (s->fast_rx || task_still_in_limit()))
;
if (s != loop->sock_active)