mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-17 04:02:54 -05:00
debug prints in verbose output.
This commit is contained in:
parent
ccc9e0749c
commit
e95edd3d36
1 changed files with 3 additions and 3 deletions
|
|
@ -3308,13 +3308,13 @@ comm_point_start_listening(struct comm_point* c, int newfd, int msec)
|
|||
if(c->type == comm_tcp || c->type == comm_http) {
|
||||
ub_event_del_bits(c->ev->ev, UB_EV_READ|UB_EV_WRITE);
|
||||
if(c->tcp_write_and_read) {
|
||||
log_info("startlistening %d mode rw", (newfd==-1?c->fd:newfd));
|
||||
verbose(5, "startlistening %d mode rw", (newfd==-1?c->fd:newfd));
|
||||
ub_event_add_bits(c->ev->ev, UB_EV_READ|UB_EV_WRITE);
|
||||
} else if(c->tcp_is_reading) {
|
||||
log_info("startlistening %d mode r", (newfd==-1?c->fd:newfd));
|
||||
verbose(5, "startlistening %d mode r", (newfd==-1?c->fd:newfd));
|
||||
ub_event_add_bits(c->ev->ev, UB_EV_READ);
|
||||
} else {
|
||||
log_info("startlistening %d mode w", (newfd==-1?c->fd:newfd));
|
||||
verbose(5, "startlistening %d mode w", (newfd==-1?c->fd:newfd));
|
||||
ub_event_add_bits(c->ev->ev, UB_EV_WRITE);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue