Browse Source

removed redundant return

Mark Magyar 2 years ago
parent
commit
627658c5b0
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/Protocols/Http.php

+ 0 - 1
src/Protocols/Http.php

@@ -110,7 +110,6 @@ class Http
             // Judge whether the package length exceeds the limit.
             if (strlen($buffer) >= 16384) {
                 $connection->close("HTTP/1.1 413 Payload Too Large\r\n\r\n", true);
-                return 0;
             }
             return 0;
         }