Mercurial > hg > nginx-tests
comparison h2_request_body.t @ 897:323ebf087121
Tests: TODO RST_STREAM test for discarded body unconditionally.
See 8df664ebe037 in nginx for details.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 14 Apr 2016 15:14:25 +0300 |
parents | 266e3b2e88f9 |
children | d73bef563aea |
comparison
equal
deleted
inserted
replaced
896:48d277065309 | 897:323ebf087121 |
---|---|
149 | 149 |
150 # request body discarded | 150 # request body discarded |
151 # RST_STREAM with zero code received | 151 # RST_STREAM with zero code received |
152 | 152 |
153 TODO: { | 153 TODO: { |
154 local $TODO = 'not yet' unless $t->has_version('1.9.14'); | 154 local $TODO = 'not yet'; |
155 | 155 |
156 $sess = new_session(); | 156 $sess = new_session(); |
157 $sid = new_stream($sess, { body_more => 1 }); | 157 $sid = new_stream($sess, { body_more => 1 }); |
158 $frames = h2_read($sess, all => [{ type => 'RST_STREAM' }]); | 158 $frames = h2_read($sess, all => [{ type => 'RST_STREAM' }]); |
159 | 159 |