summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-08-17 16:35:15 +0200
committerTomas Mraz <tomas@openssl.org>2023-08-25 08:42:39 +0200
commitaa433014bb36bfff0af17c0eb9d25b6fb2d7d068 (patch)
tree11635db7643e72037b309e6e2406659700e12096 /test
parentAllow RSA-PSS also in EVP_PKEY_assign() and EVP_PKEY_can_sign() (diff)
downloadopenssl-aa433014bb36bfff0af17c0eb9d25b6fb2d7d068.tar.xz
openssl-aa433014bb36bfff0af17c0eb9d25b6fb2d7d068.zip
Keep sending datagrams while we have data to send
If we've got more data to send than will fit in a single datagram we should keep generating those datagrams until we've sent it all. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21798)
Diffstat (limited to 'test')
-rw-r--r--test/recipes/75-test_quicapi_data/ssltraceref.txt64
1 files changed, 28 insertions, 36 deletions
diff --git a/test/recipes/75-test_quicapi_data/ssltraceref.txt b/test/recipes/75-test_quicapi_data/ssltraceref.txt
index cbca1cad70..6b64d0652e 100644
--- a/test/recipes/75-test_quicapi_data/ssltraceref.txt
+++ b/test/recipes/75-test_quicapi_data/ssltraceref.txt
@@ -81,6 +81,8 @@ Sent Datagram
Length: 1200
Received Datagram
Length: 1200
+Received Datagram
+ Length: 234
Received Packet
Packet Type: Initial
Version: 0x00000001
@@ -123,9 +125,19 @@ Received Packet
Version: 0x00000001
Destination Conn Id: <zero length id>
Source Conn Id: 0x????????????????
+ Payload length: 213
+ Packet Number: 0x00000001
+Received Packet
+ Packet Type: Handshake
+ Version: 0x00000001
+ Destination Conn Id: <zero length id>
+ Source Conn Id: 0x????????????????
Payload length: 1042
Packet Number: 0x00000000
Received Frame: Crypto
+ Offset: 1022
+ Len: 192
+Received Frame: Crypto
Offset: 0
Len: 1022
Received TLS Record
@@ -233,40 +245,6 @@ YeeuLO02zToHhnQ6KbPXOrQAqcL1kngO4g+j/ru+4AZThFkdkGnltvk=
------------------
No extensions
-Sent Frame: Ack (without ECN)
- Largest acked: 0
- Ack delay (raw) 0
- Ack range count: 0
- First ack range: 0
-Sent Frame: Ack (without ECN)
- Largest acked: 0
- Ack delay (raw) 0
- Ack range count: 0
- First ack range: 0
-Sent Frame: Padding
-Sent Packet
- Packet Type: Initial
- Version: 0x00000001
- Destination Conn Id: 0x????????????????
- Source Conn Id: <zero length id>
- Payload length: 1137
- Token: <zero length token>
- Packet Number: 0x00000001
-
-Sent Datagram
- Length: 1200
-Received Datagram
- Length: 234
-Received Packet
- Packet Type: Handshake
- Version: 0x00000001
- Destination Conn Id: <zero length id>
- Source Conn Id: 0x????????????????
- Payload length: 213
- Packet Number: 0x00000001
-Received Frame: Crypto
- Offset: 1022
- Len: 192
Received TLS Record
Header:
Version = TLS 1.2 (0x303)
@@ -290,6 +268,11 @@ Header:
verify_data (len=32): ????????????????????????????????????????????????????????????????
Sent Frame: Ack (without ECN)
+ Largest acked: 0
+ Ack delay (raw) 0
+ Ack range count: 0
+ First ack range: 0
+Sent Frame: Ack (without ECN)
Largest acked: 1
Ack delay (raw) 0
Ack range count: 0
@@ -297,12 +280,21 @@ Sent Frame: Ack (without ECN)
Sent Frame: Crypto
Offset: 0
Len: 36
+Sent Frame: Padding
+Sent Packet
+ Packet Type: Initial
+ Version: 0x00000001
+ Destination Conn Id: 0x????????????????
+ Source Conn Id: <zero length id>
+ Payload length: 1097
+ Token: <zero length token>
+ Packet Number: 0x00000001
Sent Packet
Packet Type: Handshake
Version: 0x00000001
Destination Conn Id: 0x????????????????
Source Conn Id: <zero length id>
Payload length: 60
- Packet Number: 0x00000001
+ Packet Number: 0x00000000
Sent Datagram
- Length: 81
+ Length: 1200