Mercurial > hg > nginx-tests
diff grpc.t @ 1622:5b3d33b5556c
Tests: converted HTTP2 raw_read() and raw_write() to class methods.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 24 Nov 2020 01:23:00 +0000 |
parents | 8aede7babd9a |
children | 3fe652bc9dae |
line wrap: on
line diff
--- a/grpc.t +++ b/grpc.t @@ -747,7 +747,7 @@ sub grpc { $trailers .= $rst if $uri eq '/Discard_NE'; $trailers .= ($rst x 3) if $uri eq '/Discard_NE3'; $trailers .= $cnl if $uri eq '/Discard_CNL'; - Test::Nginx::HTTP2::raw_write($client, $trailers); + $c->raw_write($trailers); return $s->read(all => [{ fin => 1 }], wait => 2) if $uri eq '/Discard_WU' || $uri eq '/Discard_NE';