tee_input: Don't expose the @rd object as a return value
commit1574d8ce531d79fc905be2f319fa703fb0710e96
authorEric Wong <normalperson@yhbt.net>
Thu, 25 Jun 2009 23:37:01 +0000 (25 16:37 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 25 Jun 2009 23:37:01 +0000 (25 16:37 -0700)
tree86445667a9e41e7f44d3c5369bcbccb699a2a61f
parent4651cd8b7c10d18bc745b84ebc7a55aad07d6077
tee_input: Don't expose the @rd object as a return value

Pay a performance penalty and always proxy reads through our
TeeInput object to ensure nobody closes our internal reader.
lib/unicorn/tee_input.rb