*_input: make life easier for subclasses/modules
commit855c02a9720a17854a2f1c715efbe502cdba54e2
authorEric Wong <normalperson@yhbt.net>
Fri, 12 Nov 2010 02:59:14 +0000 (12 10:59 +0800)
committerEric Wong <normalperson@yhbt.net>
Fri, 12 Nov 2010 03:00:22 +0000 (12 11:00 +0800)
tree52968f53cf0225a3b717c20d815e8cd1b116923c
parent3b544fb2c0e4a1e14a7bcb752a8af9819b5aaeb2
*_input: make life easier for subclasses/modules

Avoid having specific knowledge of internals in TeeInput
and instead move that to StreamInput when dealing with
byte counts.  This makes things easier for Rainbows! which
will need to extends these classes.
lib/unicorn/stream_input.rb
lib/unicorn/tee_input.rb