Mercurial > prosody-hg
comparison net/server_epoll.lua @ 10331:76bd77ad6a2a
server_epoll: Log full string represestation when connected
Since they may have been unknown when the connection was created.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 12 Oct 2019 20:15:31 +0200 |
| parents | d86b1304451a |
| children | e05ea8223b32 |
comparison
equal
deleted
inserted
replaced
| 10330:d86b1304451a | 10331:76bd77ad6a2a |
|---|---|
| 696 end | 696 end |
| 697 end | 697 end |
| 698 | 698 |
| 699 -- Connected! | 699 -- Connected! |
| 700 function interface:onconnect() | 700 function interface:onconnect() |
| 701 self:debug("Connected"); | |
| 702 self:updatenames(); | 701 self:updatenames(); |
| 702 self:debug("Connected (%s)", self); | |
| 703 self.onconnect = noop; | 703 self.onconnect = noop; |
| 704 self:on("connect"); | 704 self:on("connect"); |
| 705 end | 705 end |
| 706 | 706 |
| 707 local function listen(addr, port, listeners, config) | 707 local function listen(addr, port, listeners, config) |
