Mercurial > hg > nginx-tests
comparison h2_fastcgi_request_buffering.t @ 925:6bb1f2ccd386
Tests: removed unused variables.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Fri, 13 May 2016 14:46:07 +0300 |
parents | 29aa547dd963 |
children | d73bef563aea |
comparison
equal
deleted
inserted
replaced
924:54680c434afa | 925:6bb1f2ccd386 |
---|---|
152 | 152 |
153 # http://www.fastcgi.com/devkit/doc/fcgi-spec.html | 153 # http://www.fastcgi.com/devkit/doc/fcgi-spec.html |
154 | 154 |
155 sub fastcgi_read_record($) { | 155 sub fastcgi_read_record($) { |
156 my ($buf) = @_; | 156 my ($buf) = @_; |
157 | 157 my $h; |
158 my ($n, $h, $header); | |
159 | 158 |
160 return undef unless length $$buf; | 159 return undef unless length $$buf; |
161 | 160 |
162 @{$h}{qw/ version type id clen plen /} = unpack("CCnnC", $$buf); | 161 @{$h}{qw/ version type id clen plen /} = unpack("CCnnC", $$buf); |
163 | 162 |