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.
1 parent a082f8a commit 0c96502Copy full SHA for 0c96502
source/h1_encoder.c
@@ -489,9 +489,9 @@ static size_t s_calculate_chunk_line_size(const struct aws_http1_chunk_options *
489
size_t chunk_line_size = MAX_ASCII_HEX_CHUNK_STR_SIZE + CRLF_SIZE;
490
for (size_t i = 0; i < options->num_extensions; ++i) {
491
struct aws_http1_chunk_extension *chunk_extension = options->extensions + i;
492
- chunk_line_size += sizeof(';');
+ chunk_line_size += 1 /* ; */;
493
chunk_line_size += chunk_extension->key.len;
494
- chunk_line_size += sizeof('=');
+ chunk_line_size += 1 /* = */;
495
chunk_line_size += chunk_extension->value.len;
496
}
497
return chunk_line_size;
0 commit comments