Skip to content

Commit

Permalink
core/master: fix socket queue stats for ipv6
Browse files Browse the repository at this point in the history
It looks like the code works fine with ipv6 too so enable it.

Fix #2577
  • Loading branch information
xrmx committed Dec 26, 2023
1 parent bb5392f commit 58c9742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/master.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ static void master_check_listen_queue() {
uint64_t backlog = 0;
struct uwsgi_socket *uwsgi_sock = uwsgi.sockets;
while(uwsgi_sock) {
if (uwsgi_sock->family == AF_INET) {
if (uwsgi_sock->family == AF_INET || uwsgi_sock->family == AF_INET6) {
get_tcp_info(uwsgi_sock);
}
#ifdef __linux__
Expand Down

0 comments on commit 58c9742

Please sign in to comment.