class Puma::MiniSSL::Socket

def engine_read_all

def engine_read_all
  output = @engine.read
  while output and additional_output = @engine.read
    output << additional_output
  end
  output
end