Skip to content

Commit d1fcd46

Browse files
authored
Merge pull request #304 from qzhuyan/docs/opt-load-qst
docs: explain how to use --load-qst
2 parents c71b85f + 5230886 commit d1fcd46

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/emqtt_bench.erl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,12 @@
9393
"QUIC transport"},
9494
{ws, undefined, "ws", {boolean, false},
9595
"websocket transport"},
96-
{nst_dets_file, undefined, "load-qst", string, "load quic session tickets from dets file"},
96+
{nst_dets_file, undefined, "load-qst", string, "Load QUIC session tickets from dets file."
97+
"The client will utilize 0-RTT for QUIC connection if its session ticket, associated with the client ID, is present in the file."
98+
"The client will refresh the session ticket upon receiving a new one from the broker."
99+
"To test the 0-RTT scenario, execute the process twice: the first run retrieves the session ticket from the broker and saves it to the file,"
100+
"enabling the second run to use the session ticket for a 0-RTT connection."
101+
},
97102
%% == MQTT layer ==
98103
{username, $u, "username", string,
99104
"username for connecting to server, support '%i', '%rand_N' variables"},

0 commit comments

Comments
 (0)