Tests: avoid http2_max_field_size in h2_trailers.t.
URI used to pass a large parameter is adjusted to fit the default limit.
diff --git a/h2_trailers.t b/h2_trailers.t
index 2b0098d..88f7415 100644
--- a/h2_trailers.t
+++ b/h2_trailers.t
@@ -44,8 +44,6 @@
add_trailer X-Var $host;
}
- http2_max_field_size 256k;
-
location /continuation {
# many trailers to send in parts
add_trailer X-LongHeader $arg_h;
@@ -108,7 +106,7 @@
# CONTINUATION in response trailers
$s = Test::Nginx::HTTP2->new();
-$sid = $s->new_stream({ path => '/continuation?h=' . 'x' x 2**12 });
+$sid = $s->new_stream({ path => '/continuation?h=' . 'x' x 4000 });
$frames = $s->read(all => [{ sid => $sid, type => 'CONTINUATION' }]);
@$frames = grep { $_->{type} =~ "HEADERS|CONTINUATION|DATA" } @$frames;