Software /
code /
prosody
Changeset
10328:5c2b31c823b9
net.server_epoll: Move a log message to improve ordering
It was weird that it said "Prepared to start TLS" before "Client .. created"
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 12 Oct 2019 19:51:29 +0200 |
parents | 10327:34f7a0e8fa59 |
children | 10329:c0a72c97e6cf |
files | net/server_epoll.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_epoll.lua Sat Oct 12 19:31:48 2019 +0200 +++ b/net/server_epoll.lua Sat Oct 12 19:51:29 2019 +0200 @@ -775,10 +775,10 @@ local client = wrapsocket(conn, nil, read_size, listeners, tls_ctx, extra) local ok, err = client:init(); if not ok then return ok, err; end + client:debug("Client %s created", client); if tls_ctx then client:starttls(tls_ctx); end - client:debug("Client %s created", client); return client, conn; end