diff --git a/.mailmap b/.mailmap new file mode 100644 index 0000000..7debd40 --- /dev/null +++ b/.mailmap @@ -0,0 +1 @@ +Thomas Morgan diff --git a/lib/protocol/http1/body/chunked.rb b/lib/protocol/http1/body/chunked.rb index c31177b..e6c9417 100644 --- a/lib/protocol/http1/body/chunked.rb +++ b/lib/protocol/http1/body/chunked.rb @@ -41,7 +41,7 @@ def close(error = nil) def read return nil if @finished - length, extensions = read_line.split(";", 2) + length, _extensions = read_line.split(";", 2) unless length =~ VALID_CHUNK_LENGTH raise BadRequest, "Invalid chunk length: #{length.dump}"