From 2c9038cdc129272161336c0bd4facf61a681062e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 12 Mar 2021 22:14:16 -0400 Subject: http_request: drop unnecessary #clear call Since we allocate a new request object for each request, the #clear call is now unnecessary --- lib/unicorn/http_request.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index 6ca4592..e3ad592 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -62,7 +62,6 @@ class Unicorn::HttpParser # This does minimal exception trapping and it is up to the caller # to handle any socket errors (e.g. user aborted upload). def read(socket) - clear e = env # From https://www.ietf.org/rfc/rfc3875: -- cgit v1.2.3-24-ge0c7