Explorar o código

removed redundant return

Mark Magyar %!s(int64=2) %!d(string=hai) anos
pai
achega
627658c5b0
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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;
         }