# HG changeset patch # User Sergey Kandaurov # Date 1443450153 -10800 # Node ID 91bedf9d60a7b170e0ba4f88018cbccb0c09f61c # Parent ba822b2e899c02230f9fde4f4d6ca9e126ec84c4 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. diff --git a/h2.t b/h2.t --- 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;