Skip to content

Commit cbff2fe

Browse files
committed
Merge branch 'master' into clean-up-multipath
2 parents a94c1be + f673c4a commit cbff2fe

File tree

9 files changed

+17
-23
lines changed

9 files changed

+17
-23
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ else()
88
endif()
99

1010
project(picoquic
11-
VERSION 1.1.19.8
11+
VERSION 1.1.19.9
1212
DESCRIPTION "picoquic library"
1313
LANGUAGES C CXX)
1414

@@ -209,7 +209,7 @@ if(PICOQUIC_FETCH_PTLS)
209209
include(FetchContent)
210210
FetchContent_Declare(picotls
211211
GIT_REPOSITORY https://github.com/h2o/picotls.git
212-
GIT_TAG af66fc4aa8853b0725fcb2c18a702e8f1c656cf1)
212+
GIT_TAG 5a4461d8a3948d9d26bf861e7d90cb80d8093515)
213213
FetchContent_MakeAvailable(picotls)
214214
endif()
215215

ci/build_picotls.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build at a known-good commit
2-
$COMMIT_ID=" af66fc4aa8853b0725fcb2c18a702e8f1c656cf1"
2+
$COMMIT_ID=" 5a4461d8a3948d9d26bf861e7d90cb80d8093515"
33

44
# Match expectations of picotlsvs project.
55
mkdir $dir\include\

ci/build_picotls.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#build last picotls master (for Travis)
33

44
# Build at a known-good commit
5-
COMMIT_ID= af66fc4aa8853b0725fcb2c18a702e8f1c656cf1
5+
COMMIT_ID= 5a4461d8a3948d9d26bf861e7d90cb80d8093515
66

77
cd ..
88
# git clone --branch master --single-branch --shallow-submodules --recurse-submodules --no-tags https://github.com/h2o/picotls

picoquic/bbr.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,11 +1517,10 @@ static uint64_t BBRTargetInflight(picoquic_bbr_state_t* bbr_state, picoquic_path
15171517
#ifdef RTTJitterBufferProbe
15181518
static int BBRCheckPathSaturated(picoquic_bbr_state_t* bbr_state, picoquic_path_t* path_x, bbr_per_ack_state_t * rs, uint64_t current_time)
15191519
{
1520-
if (!rs->is_app_limited &&
1521-
bbr_state->state != picoquic_bbr_alg_drain &&
1520+
if (IsInAProbeBWState(bbr_state) &&
1521+
rs->rtt_sample > 2*bbr_state->min_rtt &&
15221522
bbr_state->rounds_since_bw_probe >= 1 &&
15231523
bbr_state->pacing_rate > 3 * rs->delivery_rate &&
1524-
rs->rtt_sample > 2*bbr_state->min_rtt &&
15251524
bbr_state->wifi_shadow_rtt == 0) {
15261525
bbr_state->prior_cwnd = rs->delivered;
15271526
bbr_state->probe_rtt_done_stamp = 0;

picoquic/picoquic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
extern "C" {
4141
#endif
4242

43-
#define PICOQUIC_VERSION "1.1.19.8"
43+
#define PICOQUIC_VERSION "1.1.19.9"
4444
#define PICOQUIC_ERROR_CLASS 0x400
4545
#define PICOQUIC_ERROR_DUPLICATE (PICOQUIC_ERROR_CLASS + 1)
4646
#define PICOQUIC_ERROR_AEAD_CHECK (PICOQUIC_ERROR_CLASS + 3)

picoquic/quicctx.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3782,11 +3782,9 @@ picoquic_cnx_t* picoquic_create_cnx(picoquic_quic_t* quic,
37823782

37833783
cnx->cnx_state = picoquic_state_client_init;
37843784

3785-
if (!quic->is_cert_store_not_empty || sni == NULL) {
3786-
/* This is a hack. The open SSL certifier crashes if no name is specified,
3787-
* and always fails if no certificate is stored, so we just use a NULL verifier */
3788-
picoquic_log_app_message(cnx, "%s -- certificate will not be verified.\n",
3789-
(sni == NULL) ? "No server name specified" : "No root crt list specified");
3785+
if (!quic->is_cert_store_not_empty) {
3786+
/* The open SSL certifier always fails if no certificate is stored, so we just use a NULL verifier */
3787+
picoquic_log_app_message(cnx, "No root crt list specified -- certificate will not be verified.\n");
37903788

37913789
picoquic_set_null_verifier(quic);
37923790
}

picoquic/tls_api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,12 @@ static int tls_api_is_init = 0;
155155
void picoquic_tls_api_init_providers(int unload)
156156
{
157157
if ((tls_api_init_flags & TLS_API_INIT_FLAGS_NO_MINICRYPTO) == 0) {
158-
DBG_PRINTF("%s", "%s minicrypto", (unload)?"Unloading":"Loading");
158+
DBG_PRINTF("%s minicrypto", (unload)?"Unloading":"Loading");
159159
picoquic_ptls_minicrypto_load(unload);
160160
}
161161
#ifndef PTLS_WITHOUT_OPENSSL
162162
if ((tls_api_init_flags & TLS_API_INIT_FLAGS_NO_OPENSSL) == 0) {
163-
DBG_PRINTF("%s", "%s openssl", (unload)?"Unloading":"Loading");
163+
DBG_PRINTF("%s openssl", (unload)?"Unloading":"Loading");
164164
picoquic_ptls_openssl_load(unload);
165165
}
166166
#else

picoquictest/mediatest.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ int mediatest_video2_down_test()
13261326
spec.do_video2 = 1;
13271327
spec.do_audio = 1;
13281328
spec.data_size = 0;
1329-
spec.latency_average = 110000;
1329+
spec.latency_average = 100000;
13301330
spec.latency_max = 600000;
13311331
spec.do_not_check_video2 = 1;
13321332
ret = mediatest_one(mediatest_video2_down, &spec);
@@ -1344,8 +1344,8 @@ int mediatest_video2_back_test()
13441344
spec.do_video2 = 1;
13451345
spec.do_audio = 1;
13461346
spec.data_size = 0;
1347-
spec.latency_average = 110000;
1348-
spec.latency_max = 600000;
1347+
spec.latency_average = 50000;
1348+
spec.latency_max = 450000;
13491349
spec.do_not_check_video2 = 1;
13501350
ret = mediatest_one(mediatest_video2_back, &spec);
13511351

@@ -1376,8 +1376,8 @@ int mediatest_wifi_test()
13761376
spec.do_video2 = 1;
13771377
spec.do_audio = 1;
13781378
spec.data_size = 0;
1379-
spec.latency_average = 45000;
1380-
spec.latency_max = 240000;
1379+
spec.latency_average = 50000;
1380+
spec.latency_max = 300000;
13811381
spec.do_not_check_video2 = 1;
13821382
ret = mediatest_one(mediatest_wifi, &spec);
13831383

picoquictest/tls_api_test.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2176,9 +2176,6 @@ static int tls_api_test_with_loss(uint64_t* loss_mask, uint32_t proposed_version
21762176
{
21772177
DBG_PRINTF("Could not create the QUIC test contexts for V=%x\n", proposed_version);
21782178
}
2179-
else if (sni == NULL) {
2180-
picoquic_set_null_verifier(test_ctx->qclient);
2181-
}
21822179

21832180
if (ret == 0) {
21842181
ret = tls_api_connection_loop(test_ctx, loss_mask, 0, &simulated_time);

0 commit comments

Comments
 (0)