No more reading 1 byte at a time from sockets

This commit is contained in:
Matthew Wild 2008-11-28 00:08:23 +00:00
parent efd0ef64bb
commit 77c094c25a
3 changed files with 3 additions and 3 deletions

View file

@ -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 --

View file

@ -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 --