From eede26a122ed501b229ec7a6075188b1ae3a8c66 Mon Sep 17 00:00:00 2001 From: Evan Phoenix Date: Thu, 25 Feb 2016 13:33:05 -0800 Subject: [PATCH] Remove unnecessary code with async split --- lib/puma/server.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/puma/server.rb b/lib/puma/server.rb index 6d570376..6b3b9bb5 100644 --- a/lib/puma/server.rb +++ b/lib/puma/server.rb @@ -524,9 +524,6 @@ module Puma head = env[REQUEST_METHOD] == HEAD - env[RACK_INPUT] = body - env[RACK_URL_SCHEME] = env[HTTPS_KEY] ? HTTPS : HTTP - # A rack extension. If the app writes #call'ables to this # array, we will invoke them when the request is done. # @@ -714,8 +711,6 @@ module Puma body = req.body - head = env[REQUEST_METHOD] == HEAD - env[RACK_INPUT] = body env[RACK_URL_SCHEME] = env[HTTPS_KEY] ? HTTPS : HTTP