mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
No more reading 1 byte at a time from sockets
This commit is contained in:
parent
efd0ef64bb
commit
77c094c25a
3 changed files with 3 additions and 3 deletions
|
@ -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 --
|
||||
|
||||
|
|
|
@ -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 --
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue