From 61eb52a56b8a6d3867b0f091dba2f00d02d5a71d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 30 Mar 2021 19:32:46 +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/Events/OnHandshake.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Events/OnHandshake.php b/HttpServer/Events/OnHandshake.php index 05611483..0f844911 100644 --- a/HttpServer/Events/OnHandshake.php +++ b/HttpServer/Events/OnHandshake.php @@ -127,7 +127,7 @@ class OnHandshake extends Callback $sRequest->headers->replace('request_method', 'sw::socket'); $sRequest->headers->replace('request_uri', $sRequest->uri); - $sRequest->params = new HttpParams([], [], [], $request->get); + $sRequest->params = new HttpParams([], $request->get, []); $sRequest->parseUri();