From 5269fd2679aa113595c5b5cf3d153db983fd1bd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sun, 1 Aug 2021 15:11:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Http/Request.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/HttpServer/Http/Request.php b/HttpServer/Http/Request.php index b1fdf392..fd699cf4 100644 --- a/HttpServer/Http/Request.php +++ b/HttpServer/Http/Request.php @@ -428,9 +428,6 @@ class Request extends HttpService $httpRequest = new Request(); $httpRequest->fd = $request->fd; - $server = ServerManager::getContext()->getServer(); - $httpRequest->clientInfo = $server->getClientInfo($request->fd); - $httpRequest->headers = new HttpHeaders(); $httpRequest->headers->addHeaders(array_merge($request->header, $request->server));