[BUGFIX] Wincompat: use the new APIs (commit e8bd737db4)

This commit is contained in:
Dmitri Tikhonov 2018-04-19 10:31:41 -04:00
parent e8bd737db4
commit 6e6a954631

View file

@ -315,16 +315,10 @@ read_handler (SOCKET fd, short flags, void *ctx)
while (ROP_NOROOM == rop); while (ROP_NOROOM == rop);
if (n_batches) if (n_batches)
{
n += packs_in->n_alloc * (n_batches - 1); n += packs_in->n_alloc * (n_batches - 1);
lsquic_engine_process_conns_with_incoming(engine);
}
while (lsquic_engine_has_pend_rw(engine))
lsquic_engine_process_conns_with_pend_rw(engine);
if (!prog_is_stopped()) if (!prog_is_stopped())
prog_maybe_set_onetimer(sport->sp_prog); prog_process_conns(sport->sp_prog);
LSQ_DEBUG("read %u packet%.*s in %u batch%s", n, n != 1, "s", n_batches, n_batches != 1 ? "es" : ""); LSQ_DEBUG("read %u packet%.*s in %u batch%s", n, n != 1, "s", n_batches, n_batches != 1 ? "es" : "");
} }