Skip to content

Commit ddcb1c4

Browse files
committed
Build dtls with records-can-span so the memory BIO example works
1 parent 259ed1a commit ddcb1c4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/examples-manifest.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ profiles:
112112
--enable-static --enable-shared
113113
# No configure flag for this one; dtls/README.md says to define it so
114114
# server-dtls13-earlydata can call wolfSSL_dtls13_no_hrr_on_resume().
115-
cflags: "-DWOLFSSL_DTLS13_NO_HRR_ON_RESUME"
115+
cflags: "-DWOLFSSL_DTLS13_NO_HRR_ON_RESUME -DWOLFSSL_DTLS_RECORDS_CAN_SPAN_DATAGRAMS"
116116

117117
psk:
118118
flags: "--enable-psk --enable-opensslextra --enable-tls13 --enable-static --enable-shared"
@@ -871,6 +871,9 @@ examples:
871871
# No dtls server honours any in-band terminator -- "shutdown" does not
872872
# exist in this dir. Every server loops until SIGINT, so all pairs are
873873
# server_exit: killed.
874+
# BIO_s_mem is a byte stream, so a DTLS record can end mid-read; without
875+
# RECORDS_CAN_SPAN_DATAGRAMS (set in the profile) wolfSSL treats that as a
876+
# truncated datagram and drops it, and nothing retransmits.
874877
- exec: [./memory-bio-dtls]
875878
# A complete DTLS server rather than a self-contained demo: bare exec just
876879
# blocks in poll() until the step times out. It has no dedicated client.

0 commit comments

Comments
 (0)