aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-05-04 15:31:32 +0200
committerKim Alvefur <zash@zash.se>2016-05-04 15:31:32 +0200
commitb919112a2e1e1ce92a6abb073ec56cda2b6afb8e (patch)
tree66c9ad3fd53bb9c5314bf19e8d20a594d1d4eb78 /core
parentf724f446d5e71d16a5c7a903efa795061e07978c (diff)
downloadprosody-b919112a2e1e1ce92a6abb073ec56cda2b6afb8e.tar.gz
prosody-b919112a2e1e1ce92a6abb073ec56cda2b6afb8e.zip
portmanager: Set default read size back to 4K
Diffstat (limited to 'core')
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 60f7731d..ad1a0be3 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 "*a";
+local default_mode = config.get("*", "network_default_read_size") or 4096;
--- Private state