diff options
author | Eric Wong <bofh@yhbt.net> | 2021-03-12 22:14:16 -0400 |
---|---|---|
committer | Eric Wong <bofh@yhbt.net> | 2021-03-13 02:28:19 +0000 |
commit | 2c9038cdc129272161336c0bd4facf61a681062e (patch) | |
tree | a7e897670891a4463252629dccf7c6ffc93eea9d | |
parent | c917ac526df214611ec33c21de2b070452ec8434 (diff) | |
download | unicorn-2c9038cdc129272161336c0bd4facf61a681062e.tar.gz |
Since we allocate a new request object for each request, the #clear call is now unnecessary
-rw-r--r-- | lib/unicorn/http_request.rb | 1 |
1 files changed, 0 insertions, 1 deletions
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: |