diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-28 00:08:23 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-28 00:08:23 +0000 |
commit | 77c094c25a133609d7b30b748d62f4e9a78775b5 (patch) | |
tree | 765c4df72c8bcc1ff9c47912f56f91b83c423f8c /net | |
parent | efd0ef64bb4cbf51ecbd51280b4cf42d7f6e6ed8 (diff) | |
download | prosody-77c094c25a133609d7b30b748d62f4e9a78775b5.tar.gz prosody-77c094c25a133609d7b30b748d62f4e9a78775b5.zip |
No more reading 1 byte at a time from sockets
Diffstat (limited to 'net')
-rw-r--r-- | net/xmppclient_listener.lua | 2 | ||||
-rw-r--r-- | net/xmppserver_listener.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/xmppclient_listener.lua b/net/xmppclient_listener.lua index 0f5511b4..369860e2 100644 --- a/net/xmppclient_listener.lua +++ b/net/xmppclient_listener.lua @@ -19,7 +19,7 @@ local st = stanza; local stream_callbacks = { streamopened = sm_streamopened, streamclosed = sm_streamclosed }; local sessions = {}; -local xmppclient = { default_port = 5222 }; +local xmppclient = { default_port = 5222, default_mode = "*a" }; -- These are session methods -- diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua index cd9a3460..3364f90b 100644 --- a/net/xmppserver_listener.lua +++ b/net/xmppserver_listener.lua @@ -21,7 +21,7 @@ local sm_new_session, sm_destroy_session = sessionmanager.new_session, sessionma local st = stanza; local sessions = {}; -local xmppserver = { default_port = 5269 }; +local xmppserver = { default_port = 5269, default_mode = "*a" }; -- These are session methods -- |