Merge pull request #11 from dtikhonov/201804191030-update-wincompat-api-use

[BUGFIX] Wincompat: use the new APIs (commit e8bd737db4)
This commit is contained in:
LiteSpeed Tech 2018-04-19 10:45:55 -04:00 committed by GitHub
commit b0e6c9cbf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -315,16 +315,10 @@ read_handler (SOCKET fd, short flags, void *ctx)
while (ROP_NOROOM == rop);
if (n_batches)
{
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())
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" : "");
}