class Async::HTTP::Protocol::HTTP10

def receive_requests

Server loop.
def receive_requests
	while request = Request.new(*self.read_request)
		status, headers, body = yield request
		
		write_response(request.version, status, headers, body)
		
		unless keep_alive?(request.headers) && keep_alive?(headers)
			@keep_alive = false
			
			break
		end
	end
	
	return false
end