diff --git a/deps/picotls b/deps/picotls index 402544bb..4ab6fda5 160000 --- a/deps/picotls +++ b/deps/picotls @@ -1 +1 @@ -Subproject commit 402544bb65b35c3231a8912f25919de7e7922659 +Subproject commit 4ab6fda556e21ef9ab7a51e48347b0289d5d5888 diff --git a/include/quicly.h b/include/quicly.h index 724b977f..0e18b90c 100644 --- a/include/quicly.h +++ b/include/quicly.h @@ -1409,13 +1409,13 @@ extern const quicly_stream_callbacks_t quicly_stream_noop_callbacks; do { \ PTLS_LOG_DEFINE_POINT(quicly, _name, logpoint); \ uint32_t active = ptls_log_point_maybe_active(&logpoint); \ - if (active == 0) \ + if (PTLS_LIKELY(active == 0)) \ break; \ quicly_conn_t *_c = (_conn); \ ptls_t *_tls = quicly_get_tls(_c); \ ptls_log_conn_state_t *conn_state = ptls_get_log_state(_tls); \ active &= ptls_log_conn_maybe_active(conn_state, (const char *(*)(void *))ptls_get_server_name, _tls); \ - if (active == 0) \ + if (PTLS_LIKELY(active == 0)) \ break; \ PTLS_LOG__DO_LOG(quicly, _name, conn_state, (const char *(*)(void *))ptls_get_server_name, _tls, _c->stash.now == 0, { \ if (_c->stash.now != 0) \