aboutsummaryrefslogtreecommitdiffstats
path: root/core/portmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-01-10 23:25:00 +0100
committerKim Alvefur <zash@zash.se>2016-01-10 23:25:00 +0100
commit6490acf700c4d8c197320dfe0602462ed0d4d212 (patch)
tree8842113c5b6274fd6b6a4d5e46d08370d5e80ee2 /core/portmanager.lua
parentbe071881307938a4e12df9c8f0a0d894bc94227c (diff)
downloadprosody-6490acf700c4d8c197320dfe0602462ed0d4d212.tar.gz
prosody-6490acf700c4d8c197320dfe0602462ed0d4d212.zip
core: Increase default read size to "all of it", in practice 8K (size of LuaSockets buffer)
Diffstat (limited to 'core/portmanager.lua')
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 421d7fc6..37442a31 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -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