diff lib/Test/Nginx/HTTP3.pm @ 1924:0e4ff5f83653

Tests: saved input buffer after processing QUIC long packets. Notably, this unbreaks tests with coalesced short packets, apparently when nginx responds to requests sent within early data.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 14 Aug 2023 16:13:24 +0400
parents 24fea64f233f
children a4f1cbd87f0d
line wrap: on
line diff
--- a/lib/Test/Nginx/HTTP3.pm
+++ b/lib/Test/Nginx/HTTP3.pm
@@ -208,6 +208,7 @@ sub handshake {
 	}
 
 	$self->read_tls_message(\$buf, \&parse_tls_finished);
+	$self->{buf} = $buf;
 
 	# tls13_advance_key_schedule(application)