ソースを参照

Update Http.php

walkor 3 年 前
コミット
00283b1542
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/Protocols/Http.php

+ 1 - 1
src/Protocols/Http.php

@@ -124,7 +124,7 @@ class Http
                 }
             }
             if ($length > $connection->maxPackageSize) {
-                $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 $length;