mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Merge pull request #11 from dtikhonov/201804191030-update-wincompat-api-use
[BUGFIX] Wincompat: use the new APIs (commit e8bd737db4
)
This commit is contained in:
commit
b0e6c9cbf7
1 changed files with 1 additions and 7 deletions
|
@ -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" : "");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue