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;
|
int r;
|
||||||
|
|
||||||
if (status != 0) {
|
if (status != 0) {
|
||||||
|
#if DEBUG
|
||||||
fprintf(stderr, "connect error %s\n", uv_err_name(uv_last_error()));
|
fprintf(stderr, "connect error %s\n", uv_err_name(uv_last_error()));
|
||||||
|
#endif
|
||||||
uv_close((uv_handle_t*)req->handle, close_cb);
|
uv_close((uv_handle_t*)req->handle, close_cb);
|
||||||
conns_failed++;
|
conns_failed++;
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user