# File lib/phusion_passenger/utils/tee_input.rb, line 130
  def rewind
    return 0 if 0 == @tmp.size
    consume! if !socket_drained?
    @tmp.rewind # Rack does not specify what the return value is here
  end