From 6e6a9546315c20d31adc0184bf540f84d031ec7d Mon Sep 17 00:00:00 2001 From: Dmitri Tikhonov Date: Thu, 19 Apr 2018 10:31:41 -0400 Subject: [PATCH] [BUGFIX] Wincompat: use the new APIs (commit e8bd737db48) --- wincompat/test_common_win.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/wincompat/test_common_win.c b/wincompat/test_common_win.c index 01fdbde..be93d7d 100644 --- a/wincompat/test_common_win.c +++ b/wincompat/test_common_win.c @@ -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" : ""); }