Mercurial > prosody-hg
comparison core/hostmanager.lua @ 11505:61d38c4b749d
core.hostmanager: Remove obsolete clearing of srv_hosts
Gone with s2sout.lib in 756b8821007a
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 06 Apr 2021 13:27:18 +0200 |
| parents | 7b9ffddc4276 |
| children | ead41e25ebc0 |
comparison
equal
deleted
inserted
replaced
| 11504:1f700f5f62cb | 11505:61d38c4b749d |
|---|---|
| 131 end | 131 end |
| 132 if host_session.s2sout then | 132 if host_session.s2sout then |
| 133 for remotehost, session in pairs(host_session.s2sout) do | 133 for remotehost, session in pairs(host_session.s2sout) do |
| 134 if session.close then | 134 if session.close then |
| 135 log("debug", "Closing outgoing connection to %s", remotehost); | 135 log("debug", "Closing outgoing connection to %s", remotehost); |
| 136 if session.srv_hosts then session.srv_hosts = nil; end | |
| 137 session:close(reason); | 136 session:close(reason); |
| 138 end | 137 end |
| 139 end | 138 end |
| 140 end | 139 end |
| 141 for remote_session in pairs(incoming_s2s) do | 140 for remote_session in pairs(incoming_s2s) do |
