core: Increase default read size to "all of it", in practice 8K (size of LuaSockets...
authorKim Alvefur <zash@zash.se>
Sun, 10 Jan 2016 22:25:00 +0000 (23:25 +0100)
committerKim Alvefur <zash@zash.se>
Sun, 10 Jan 2016 22:25:00 +0000 (23:25 +0100)
core/portmanager.lua

index 421d7fc60f4c27c40ab0b98f3a8db15cb02d55c7..37442a31d675341aac7bd1b918f52182b9846038 100644 (file)
@@ -29,7 +29,7 @@ if socket.tcp6 and config.get("*", "use_ipv6") ~= false then
        table.insert(default_local_interfaces, "::1");
 end
 
-local default_mode = config.get("*", "network_default_read_size") or 4096;
+local default_mode = config.get("*", "network_default_read_size") or "*a";
 
 --- Private state