summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-08-09 17:43:13 +0100
committerMatt Caswell <matt@openssl.org>2023-08-25 11:42:51 +0100
commitb7f3d5d67d17aa1a384811014e79b461ce0e23ca (patch)
tree3bbb0e061060e72d677eb374be4468baad1563c8 /demos
parent8c5284ff194f444877ae25012d3d07ee46e46219 (diff)
Update the desciption of shutdown in the QUIC client blocking tutorial
Give a better description of the shutdown process in QUIC. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21765)
Diffstat (limited to 'demos')
-rw-r--r--demos/guide/quic-client-block.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/guide/quic-client-block.c b/demos/guide/quic-client-block.c
index cbe6deb7c1..7d3380675c 100644
--- a/demos/guide/quic-client-block.c
+++ b/demos/guide/quic-client-block.c
@@ -245,7 +245,9 @@ int main(void)
* Check whether we finished the while loop above normally or as the
* result of an error. The 0 argument to SSL_get_error() is the return
* code we received from the SSL_read_ex() call. It must be 0 in order
- * to get here. Normal completion is indicated by SSL_ERROR_ZERO_RETURN.
+ * to get here. Normal completion is indicated by SSL_ERROR_ZERO_RETURN. In
+ * QUIC terms this means that the peer has sent FIN on the stream to
+ * indicate that no further data will be sent.
*/
if (SSL_get_error(ssl, 0) != SSL_ERROR_ZERO_RETURN) {
/*