]> git.ipfire.org Git - thirdparty/openssl.git/commit - demos/guide/tls-client-non-block.c
augment quic demos to support ipv4/6 connections
authorNeil Horman <nhorman@openssl.org>
Tue, 31 Oct 2023 15:54:03 +0000 (11:54 -0400)
committerRichard Levitte <levitte@openssl.org>
Tue, 21 Nov 2023 12:01:54 +0000 (13:01 +0100)
commit5091aadc223315ce115ee12f62df2af173bf5efb
tree850952514ebcd1d96e96a58e1617c79a1812e66d
parentcf6342bc024868f5a55f2225f2e083415fb1329a
augment quic demos to support ipv4/6 connections

Because the quicserver utility supports expressly listening in ipv4/6
mode, its possible/likely that the server will listen on an ipv4
address, while the clients will connect via ipv6, leading to connection
failures.

Augment quic demo clients to afford them the same -6 option that the
server has so that connection family can be co-ordinated

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22577)
demos/guide/quic-client-block.c
demos/guide/quic-client-non-block.c
demos/guide/quic-multi-stream.c
demos/guide/tls-client-block.c
demos/guide/tls-client-non-block.c
doc/man7/ossl-guide-quic-client-block.pod
doc/man7/ossl-guide-tls-client-block.pod