]> git.ipfire.org Git - thirdparty/openssl.git/commit
quic ddd demos: update makefile and demo sources
authorJames Muir <james@openssl.org>
Thu, 26 Oct 2023 21:50:45 +0000 (17:50 -0400)
committerHugo Landau <hlandau@openssl.org>
Wed, 1 Nov 2023 15:38:41 +0000 (15:38 +0000)
commitd1338fcf12672ef4a3d417f5dd03e342710ee5b3
treed7c945afdd74dcd68ef762154003c0da43670565
parentbcc04ab287d59e4f680c1a5eb768c19c5f74bea5
quic ddd demos: update makefile and demo sources

Update makefile and fix some signedness issues in the demo sources.
Drop stray "\n" in the host-port format string that prevented ddd-01
from working (this was also noticed by Neil H). Also, determine the
length of the message we are sending and send that many bytes (rather
than send sizeof the buffer storing the message).

These changes are part of https://github.com/openssl/project/issues/253

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22542)
doc/designs/ddd/Makefile
doc/designs/ddd/ddd-01-conn-blocking.c
doc/designs/ddd/ddd-02-conn-nonblocking-threads.c
doc/designs/ddd/ddd-02-conn-nonblocking.c
doc/designs/ddd/ddd-03-fd-blocking.c
doc/designs/ddd/ddd-04-fd-nonblocking.c
doc/designs/ddd/ddd-05-mem-nonblocking.c
doc/designs/ddd/ddd-06-mem-uv.c