diff --git a/include/picotls.h b/include/picotls.h index c3f9487b..f3e783e1 100644 --- a/include/picotls.h +++ b/include/picotls.h @@ -309,7 +309,7 @@ extern "C" { #define PTLS_TO_STR(n) PTLS_TO__STR(n) /** - * default maximum of tickets to send (see ptls_context_t::ticket_requests.server.max_count + * default maximum of tickets to send (see ptls_context_t::ticket_requests.server.max_count) */ #define PTLS_DEFAULT_MAX_TICKETS_TO_SERVE 4 @@ -1039,8 +1039,8 @@ struct st_ptls_context_t { uint8_t resumption_count; } client; /** - * if set to non-zero, the maximum number of tickets being sent is capped to the specifed value; the maximum is set to - * PTLS_DEFAULT_MAX_TICKETS_TO_SERVE. + * if set to non-zero, the maximum number of tickets being sent is capped to the specifed value; if set to zero, the maximum + * adopted is PTLS_DEFAULT_MAX_TICKETS_TO_SERVE. */ struct { uint8_t max_count;