Skip to content

Commit

Permalink
Merge pull request #2594 from xrmx/fix-2577-master
Browse files Browse the repository at this point in the history
core/master: fix socket queue stats for ipv6
  • Loading branch information
xrmx authored Dec 26, 2023
2 parents bb5392f + 58c9742 commit d95638b
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 d95638b

Please sign in to comment.