Mercurial > hg > nginx-tests
comparison fastcgi_body.t @ 925:6bb1f2ccd386
Tests: removed unused variables.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Fri, 13 May 2016 14:46:07 +0300 |
parents | 3f453670bfac |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
924:54680c434afa | 925:6bb1f2ccd386 |
---|---|
107 | 107 |
108 # http://www.fastcgi.com/devkit/doc/fcgi-spec.html | 108 # http://www.fastcgi.com/devkit/doc/fcgi-spec.html |
109 | 109 |
110 sub fastcgi_read_record($) { | 110 sub fastcgi_read_record($) { |
111 my ($buf) = @_; | 111 my ($buf) = @_; |
112 | 112 my $h; |
113 my ($n, $h, $header); | |
114 | 113 |
115 return undef unless length $$buf; | 114 return undef unless length $$buf; |
116 | 115 |
117 @{$h}{qw/ version type id clen plen /} = unpack("CCnnC", $$buf); | 116 @{$h}{qw/ version type id clen plen /} = unpack("CCnnC", $$buf); |
118 | 117 |