mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-13 07:37:15 +03:00
remove over-verboseness
This commit is contained in:
parent
0613d412a2
commit
9fca586735
@ -480,12 +480,6 @@ void main_loop(struct listen_endpoint listen_sockets[], int num_addr_listen)
|
|||||||
/* Check all sockets for read activity */
|
/* Check all sockets for read activity */
|
||||||
for (i = 0; i < fd_info.max_fd; i++) {
|
for (i = 0; i < fd_info.max_fd; i++) {
|
||||||
if (FD_ISSET(i, &readfds)) {
|
if (FD_ISSET(i, &readfds)) {
|
||||||
struct connection* cnx = collection_get_cnx_from_fd(fd_info.collection, i);
|
|
||||||
if (cfg.verbose) {
|
|
||||||
fprintf(stderr, "read activity on fd %d; cnx:\n", i);
|
|
||||||
dump_connection(cnx);
|
|
||||||
}
|
|
||||||
|
|
||||||
cnx_read_process(&fd_info, i);
|
cnx_read_process(&fd_info, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user