pound: only display connect errors on DEBUG
This commit is contained in:
parent
f6c25a17ea
commit
123119342f
@ -103,7 +103,9 @@ static void connect_cb(uv_connect_t* req, int status) {
|
||||
int r;
|
||||
|
||||
if (status != 0) {
|
||||
#if DEBUG
|
||||
fprintf(stderr, "connect error %s\n", uv_err_name(uv_last_error()));
|
||||
#endif
|
||||
uv_close((uv_handle_t*)req->handle, close_cb);
|
||||
conns_failed++;
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user