TeeInput: use only one IO for tempfile
commit8f648549d57df3d1b9796c70d2e11ba6ffb19486
authorEric Wong <normalperson@yhbt.net>
Wed, 1 Jul 2009 00:11:31 +0000 (30 17:11 -0700)
committerEric Wong <normalperson@yhbt.net>
Wed, 1 Jul 2009 00:11:31 +0000 (30 17:11 -0700)
treec2b414340117813397b062d1ce73544ada8c2177
parent2d3f12f0ca25ddfdec5b7d92f76489dcc1f26cf7
TeeInput: use only one IO for tempfile

We can actually just use one IO and file descriptor here and
simplify the code while we're at it.
lib/unicorn/tee_input.rb