# HG changeset patch # User Kim Alvefur # Date 1570902689 -7200 # Node ID 5c2b31c823b92bc7f53e99498aba9638bdc45b70 # Parent 34f7a0e8fa59415dd13c38003fa72142a70dcaaa net.server_epoll: Move a log message to improve ordering It was weird that it said "Prepared to start TLS" before "Client .. created" diff -r 34f7a0e8fa59 -r 5c2b31c823b9 net/server_epoll.lua --- 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