chore(quic): troubleshooting large payload

This commit is contained in:
William Yang 2023-02-15 16:22:41 +01:00
parent fef0a9375c
commit 3f7032fbe9
1 changed files with 5 additions and 1 deletions

View File

@ -527,7 +527,11 @@ t_multi_streams_packet_boundary(Config) ->
[{qos, PubQos}],
undefined
),
LargePart3 = binary:copy(atom_to_binary(?FUNCTION_NAME), 20000),
ThisFunB = atom_to_binary(?FUNCTION_NAME),
LargePart3 = iolist_to_binary([
<<N:64, ThisFunB/binary>>
|| N <- lists:seq(1, 20000)
]),
ok = emqtt:publish_async(
C,
PubVia,