Skip to content

Commit

Permalink
Merge pull request #11 from dtikhonov/201804191030-update-wincompat-a…
Browse files Browse the repository at this point in the history
…pi-use

[BUGFIX] Wincompat: use the new APIs (commit e8bd737)
  • Loading branch information
litespeedtech authored Apr 19, 2018
2 parents e8bd737 + 6e6a954 commit b0e6c9c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions wincompat/test_common_win.c
Original file line number Diff line number Diff line change
Expand Up @@ -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" : "");
}
Expand Down

0 comments on commit b0e6c9c

Please sign in to comment.