projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
563e11a
)
core: Increase default read size to "all of it", in practice 8K (size of LuaSockets...
author
Kim Alvefur
<zash@zash.se>
Sun, 10 Jan 2016 22:25:00 +0000
(23:25 +0100)
committer
Kim Alvefur
<zash@zash.se>
Sun, 10 Jan 2016 22:25:00 +0000
(23:25 +0100)
core/portmanager.lua
patch
|
blob
|
history
diff --git
a/core/portmanager.lua
b/core/portmanager.lua
index 421d7fc60f4c27c40ab0b98f3a8db15cb02d55c7..37442a31d675341aac7bd1b918f52182b9846038 100644
(file)
--- 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