We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a32798 + ef75124 commit cd0223fCopy full SHA for cd0223f
CMakeLists.txt
@@ -8,7 +8,7 @@ else()
8
endif()
9
10
project(picoquic
11
- VERSION 1.1.30.0
+ VERSION 1.1.30.1
12
DESCRIPTION "picoquic library"
13
LANGUAGES C CXX)
14
picoquic/cubic.c
@@ -344,13 +344,21 @@ static void cubic_notify(
344
uint64_t delta_window = path_x->cwin - base_window;
345
path_x->cwin -= (delta_window / 2);
346
}
347
+#if 1
348
+ else {
349
+ /* In the general case, compensate for the growth of the window after the acknowledged packet was sent. */
350
+ path_x->cwin /= 2;
351
+ }
352
+#endif
353
354
cubic_state->ssthresh = path_x->cwin;
355
cubic_state->W_max = (double)path_x->cwin / (double)path_x->send_mtu;
356
cubic_state->W_last_max = cubic_state->W_max;
357
cubic_state->W_reno = ((double)path_x->cwin);
358
path_x->is_ssthresh_initialized = 1;
- cubic_enter_avoidance(cubic_state, current_time);
359
+ /* enter recovery to ignore the losses expected if the window grew
360
+ * too large after the acknowleded packet was sent. */
361
+ cubic_enter_recovery(cnx, path_x, notification, cubic_state, current_time);
362
/* apply a correction to enter the test phase immediately */
363
uint64_t K_micro = (uint64_t)(cubic_state->K * 1000000.0);
364
if (K_micro > current_time) {
picoquic/picoquic.h
@@ -40,7 +40,7 @@
40
extern "C" {
41
#endif
42
43
-#define PICOQUIC_VERSION "1.1.30.0"
+#define PICOQUIC_VERSION "1.1.30.1"
44
#define PICOQUIC_ERROR_CLASS 0x400
45
#define PICOQUIC_ERROR_DUPLICATE (PICOQUIC_ERROR_CLASS + 1)
46
#define PICOQUIC_ERROR_AEAD_CHECK (PICOQUIC_ERROR_CLASS + 3)
picoquictest/ack_frequency_test.c
@@ -198,7 +198,7 @@ int ackfrq_short_test()
198
spec.max_ack_delay_remote = 1000;
199
spec.max_ack_gap_remote = 32;
200
spec.min_ack_delay_remote = 1000;
201
- spec.target_interval = 1500;
+ spec.target_interval = 1000;
202
203
return ackfrq_test_one(&spec);
204
picoquictest/satellite_test.c
@@ -279,8 +279,8 @@ int satellite_bbr1_test()
279
280
int satellite_cubic_test()
281
{
282
- /* Should be less than 7 sec per draft etosat, but cubic is much slower */
283
- return satellite_test_one(picoquic_cubic_algorithm, 100000000, 11000000, 250, 3, 0, 0, 0, 0, 0, 0);
+ /* Should be less than 7 sec per draft etosat */
+ return satellite_test_one(picoquic_cubic_algorithm, 100000000, 6500000, 250, 3, 0, 0, 0, 0, 0, 0);
284
285
286
int satellite_cubic_seeded_test()
@@ -291,7 +291,7 @@ int satellite_cubic_seeded_test()
291
int satellite_cubic_loss_test()
292
293
/* Should be less than 10 sec per draft etosat, but cubic is a bit slower */
294
- return satellite_test_one(picoquic_cubic_algorithm, 100000000, 12100000, 250, 3, 0, 1, 0, 0, 0, 0);
+ return satellite_test_one(picoquic_cubic_algorithm, 100000000, 7500000, 250, 3, 0, 1, 0, 0, 0, 0);
295
296
297
int satellite_dcubic_seeded_test()
0 commit comments