changeset 719:91bedf9d60a7

Tests: adjusted field length in HTTP/2 test for max frame size. Made sure to always get response header fields split across HTTP/2 frames. Huffman encoding could be used to compress such a field to fit in a frame.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 28 Sep 2015 17:22:33 +0300
parents ba822b2e899c
children 3c09ccf97d80
files h2.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h2.t
+++ b/h2.t
@@ -1362,7 +1362,7 @@ TODO: {
 local $TODO = 'not yet';
 
 $sess = new_session();
-$sid = new_stream($sess, { path => '/continuation?h=' . 'x' x 2**14 });
+$sid = new_stream($sess, { path => '/continuation?h=' . 'x' x 2**15 });
 
 $frames = h2_read($sess, all => [{ sid => $sid, fin => 0x4 }]);
 @data = grep { $_->{type} =~ "HEADERS|CONTINUATION" } @$frames;