From 6df1caf233b6135fee4f7a182152d34efc94d195 Mon Sep 17 00:00:00 2001 From: Jolene Tan Date: Wed, 4 Dec 2024 01:50:03 -0800 Subject: [PATCH] Correct WriteToSocket.token field name in struct comment Summary: `WriteToSocket.callback` was changed to `token`; correct the name in the comment Reviewed By: abakiaydin Differential Revision: D66548949 fbshipit-source-id: 6f5b0d823dbf4806d691737cb96d2506fb1e7a51 --- fizz/protocol/Actions.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fizz/protocol/Actions.h b/fizz/protocol/Actions.h index d8c74147af8..dd4689b3b9b 100644 --- a/fizz/protocol/Actions.h +++ b/fizz/protocol/Actions.h @@ -31,9 +31,8 @@ struct DeliverAppData { /** * Raw data that must be written to the transport. - * callback: The callback that should be invoked after the write has finished. - * This is usually when the kernel has accepted the buffer in the - * case of TCP. + * token: An opaque handle passed through the state machine to the IO layer, + * which defines and manages its specific use. * contents: The TLS records that need to be written. Each TLSContent object * can represent several TLS records at a certain encryption level / * content type.