Mercurial > prosody-hg
comparison core/s2smanager.lua @ 353:e7d776b5ebb9
Remove an old FIXME comment
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 19 Nov 2008 23:25:04 +0000 |
| parents | b6c552bc5716 |
| children | 9b461ae785b1 |
comparison
equal
deleted
inserted
replaced
| 352:a73a5afd7da3 | 353:e7d776b5ebb9 |
|---|---|
| 85 local host_session = { to_host = to_host, from_host = from_host, notopen = true, type = "s2sout_unauthed", direction = "outgoing" }; | 85 local host_session = { to_host = to_host, from_host = from_host, notopen = true, type = "s2sout_unauthed", direction = "outgoing" }; |
| 86 hosts[from_host].s2sout[to_host] = host_session; | 86 hosts[from_host].s2sout[to_host] = host_session; |
| 87 local cl = connlisteners_get("xmppserver"); | 87 local cl = connlisteners_get("xmppserver"); |
| 88 | 88 |
| 89 local conn, handler = socket.tcp() | 89 local conn, handler = socket.tcp() |
| 90 | 90 |
| 91 --FIXME: Below parameters (ports/ip) are incorrect (use SRV) | |
| 92 | |
| 93 local connect_host, connect_port = to_host, 5269; | 91 local connect_host, connect_port = to_host, 5269; |
| 94 | 92 |
| 95 local answer = dns.lookup("_xmpp-server._tcp."..to_host..".", "SRV"); | 93 local answer = dns.lookup("_xmpp-server._tcp."..to_host..".", "SRV"); |
| 96 | 94 |
| 97 if answer then | 95 if answer then |
