Update demos/tutorial to distinguish between stream and connection errors
authorMatt Caswell <matt@openssl.org>
Mon, 21 Aug 2023 14:11:17 +0000 (15:11 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 25 Aug 2023 10:42:51 +0000 (11:42 +0100)
commit02e36ed3525a2f0fda1b21e948ec5f522cf9379c
treebba75fcbd024109898a72749bec2be5381d51d54
parenta855ee857645614483976fb1be1b3907a2fe94d8
Update demos/tutorial to distinguish between stream and connection errors

We can use SSL_get_stream_read_state() to distinguish these cases.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21765)
demos/guide/quic-client-block.c
demos/guide/quic-multi-stream.c
doc/man7/ossl-guide-quic-client-block.pod
doc/man7/ossl-guide-quic-multi-stream.pod