diff options
author | Matthew Wild <mwild1@gmail.com> | 2014-07-25 13:53:39 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2014-07-25 13:53:39 +0100 |
commit | c2356b38b3486690308f8b7aa7c408e77e9f2769 (patch) | |
tree | ce73b2bbe3c48a8e91e49a89a1991b25bb43b789 /net/server_event.lua | |
parent | 08a960376a7ab2302e6ee08dc0c2783aab54cded (diff) | |
download | prosody-c2356b38b3486690308f8b7aa7c408e77e9f2769.tar.gz prosody-c2356b38b3486690308f8b7aa7c408e77e9f2769.zip |
net.server_select/event: Switch sender mode to *a when reading, to make sure we get all available data
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 25799640..b05d1688 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -847,6 +847,7 @@ local function link(sender, receiver, buffersize) sender:pause(); end end + sender:set_mode("*a"); end return { |