Software /
code /
prosody
Comparison
net/connect.lua @ 10112:b327f2870382
net.*: Remove tostring call from logging
Taken care of by loggingmanager now
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 30 Jul 2019 02:35:17 +0200 |
parent | 9387:33e52f727f0f |
child | 10452:fa11070c2cd7 |
comparison
equal
deleted
inserted
replaced
10111:0f335815244f | 10112:b327f2870382 |
---|---|
36 return; | 36 return; |
37 end | 37 end |
38 p:log("debug", "Next target to try is %s:%d", ip, port); | 38 p:log("debug", "Next target to try is %s:%d", ip, port); |
39 local conn, err = server.addclient(ip, port, pending_connection_listeners, p.options.pattern or "*a", p.options.sslctx, conn_type, extra); | 39 local conn, err = server.addclient(ip, port, pending_connection_listeners, p.options.pattern or "*a", p.options.sslctx, conn_type, extra); |
40 if not conn then | 40 if not conn then |
41 log("debug", "Connection attempt failed immediately: %s", tostring(err)); | 41 log("debug", "Connection attempt failed immediately: %s", err); |
42 p.last_error = err or "unknown reason"; | 42 p.last_error = err or "unknown reason"; |
43 return attempt_connection(p); | 43 return attempt_connection(p); |
44 end | 44 end |
45 p.conn = conn; | 45 p.conn = conn; |
46 pending_connections_map[conn] = p; | 46 pending_connections_map[conn] = p; |