walkor 3 éve
szülő
commit
bb07319ae0
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/Protocols/Http.php

+ 1 - 1
src/Protocols/Http.php

@@ -86,7 +86,7 @@ class Http
         if (false === $crlf_pos) {
             // Judge whether the package length exceeds the limit.
             if ($recv_len = \strlen($recv_buffer) >= 16384) {
-                $connection->close("HTTP/1.1 413 Request Entity Too Large\r\n\r\n");
+                $connection->close("HTTP/1.1 413 Request Entity Too Large\r\n\r\n", true);
                 return 0;
             }
             return 0;