diff --git a/lib/puma/server.rb b/lib/puma/server.rb index 223d87e8..37bad092 100644 --- a/lib/puma/server.rb +++ b/lib/puma/server.rb @@ -177,7 +177,7 @@ module Puma if data.size > nparsed data.slice!(0, nparsed) - parser = HttpParser.new + parser.reset env = @proto_env.dup nparsed = 0 else