Software /
code /
prosody
Diff
core/portmanager.lua @ 7077:0386ccf20ac7
core: Increase default read size to "all of it", in practice 8K (size of LuaSockets buffer)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 10 Jan 2016 23:25:00 +0100 |
parent | 6041:a97591d2e1ad |
child | 7078:ec17115e3721 |
line wrap: on
line diff
--- a/core/portmanager.lua Sun Jan 10 23:21:34 2016 +0100 +++ b/core/portmanager.lua Sun Jan 10 23:25:00 2016 +0100 @@ -29,7 +29,7 @@ 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