Skip to content

Commit 00500f2

Browse files
authored
fix: bump maximum event stream message length to 24MB (#1243)
1 parent a0be9e4 commit 00500f2

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": "ba71e47f-d546-45f2-bf44-aedaab74a966",
3+
"type": "misc",
4+
"description": "Increase maximum event stream message length to 24MB"
5+
}

runtime/protocol/aws-event-stream/common/src/aws/smithy/kotlin/runtime/awsprotocol/eventstream/Message.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ import aws.smithy.kotlin.runtime.text.encoding.encodeToHex
1212

1313
internal const val MESSAGE_CRC_BYTE_LEN = 4
1414

15-
// max message size is 16 MB
16-
internal const val MAX_MESSAGE_SIZE = 16 * 1024 * 1024
15+
// max message size is 24 MB
16+
internal const val MAX_MESSAGE_SIZE = 24 * 1024 * 1024
1717

1818
// max header size is 128 KB
1919
internal const val MAX_HEADER_SIZE = 128 * 1024
2020

2121
/*
2222
Message Wire Format
23-
See also: https://docs.aws.amazon.com/transcribe/latest/dg/event-stream-med.html
23+
See also: https://docs.aws.amazon.com/transcribe/latest/dg/streaming-setting-up.html
2424
2525
+--------------------------------------------------------------------+ --
2626
| Total Len (32) | |

0 commit comments

Comments
 (0)