aboutsummaryrefslogtreecommitdiffstats
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
commit47fb0705f697eef316c115ce1ad736951e31dd34 (patch)
tree66c9ad3fd53bb9c5314bf19e8d20a594d1d4eb78
parentb1ec0f7993d03701fd534ac40b806a9e07a60fc0 (diff)
downloadprosody-47fb0705f697eef316c115ce1ad736951e31dd34.tar.gz
prosody-47fb0705f697eef316c115ce1ad736951e31dd34.zip
portmanager: Set default read size back to 4K
-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