Mercurial > prosody-hg
comparison core/hostmanager.lua @ 8561:7b9ffddc4276
Merge 0.10->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 06 Mar 2018 01:45:58 +0100 |
| parents | 4f0f5b49bb03 d5d746e4c453 |
| children | 61d38c4b749d |
comparison
equal
deleted
inserted
replaced
| 8558:5de663cef508 | 8561:7b9ffddc4276 |
|---|---|
| 82 s2sout = {}; | 82 s2sout = {}; |
| 83 events = events_new(); | 83 events = events_new(); |
| 84 send = host_send; | 84 send = host_send; |
| 85 modules = {}; | 85 modules = {}; |
| 86 }; | 86 }; |
| 87 function host_session:close(reason) | |
| 88 log("debug", "Attempt to close host session %s with reason: %s", self.host, reason); | |
| 89 end | |
| 87 setmetatable(host_session, host_mt); | 90 setmetatable(host_session, host_mt); |
| 88 if not host_config.component_module then -- host | 91 if not host_config.component_module then -- host |
| 89 host_session.type = "local"; | 92 host_session.type = "local"; |
| 90 host_session.sessions = {}; | 93 host_session.sessions = {}; |
| 91 else -- component | 94 else -- component |
