class Async::HTTP::Protocol::HTTP10
def receive_requests
def receive_requests while request = Request.new(*self.read_request) response = yield request response.version ||= request.version write_response(response.version, response.status, response.headers, response.body) unless persistent?(request.headers) && persistent?(headers) @persistent = false break end end return false end