Skip to content

Commit 40056af

Browse files
author
Justin Boswell
authored
Fixed export of aws_h2_connection_preface_client_string (#203)
1 parent 64aa5fb commit 40056af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/h2_frames.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929

3030
#define ENCODER_LOG(level, encoder, text) ENCODER_LOGF(level, encoder, "%s", text)
3131

32-
const struct aws_byte_cursor aws_h2_connection_preface_client_string =
32+
/* exported for tests */
33+
AWS_HTTP_API const struct aws_byte_cursor aws_h2_connection_preface_client_string =
3334
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n");
3435

3536
/* Initial values and bounds are from RFC-7540 6.5.2 */

0 commit comments

Comments
 (0)