From d7d608363466b9f1c763097e35d64487ef7320ea Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 5 Apr 2024 05:43:54 +0300 Subject: [PATCH] remove custom length value --- src/Client/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client/Request.php b/src/Client/Request.php index cbe1cd0..dc1d4c2 100644 --- a/src/Client/Request.php +++ b/src/Client/Request.php @@ -154,7 +154,7 @@ class Request ) ); - while ($part = fgets($connection, 1)) + while ($part = fgets($connection)) { $length = $length + mb_strlen( $part