mirror of
https://github.com/EndPositive/slipstream.git
synced 2025-10-08 12:25:04 +00:00
Optimize polls to induce less acks
This commit is contained in:
parent
2fe1241583
commit
223b3b3888
2 changed files with 1 additions and 7 deletions
2
extern/picoquic
vendored
2
extern/picoquic
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit c3419f8dccf441ad9c2a14d747261701f2884edd
|
||||
Subproject commit 1c07d2255ba633ab7bf8e5823bb07007678e25c0
|
||||
|
|
@ -137,12 +137,6 @@ int slipstream_packet_loop_(picoquic_network_thread_ctx_t* thread_ctx, picoquic_
|
|||
}
|
||||
slot->cnx = last_cnx;
|
||||
nb_packet_received++;
|
||||
|
||||
if (!param->is_client && last_cnx->nb_paths == 1) {
|
||||
// server can only have 1 incoming path
|
||||
picoquic_path_t* path_x = last_cnx->path[0];
|
||||
picoquic_set_ack_needed(last_cnx, current_time, picoquic_packet_context_application, path_x, 1);
|
||||
}
|
||||
}
|
||||
|
||||
const uint64_t loop_time = picoquic_current_time();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue