class Rackup::Stream

def close_write

close must never be called on the input stream. huh?
def close_write
  if @output.respond_to?(:close)
    @output&.close
  end
  @output = nil
end