disconnecting user on ca auth end
Some checks failed
Codacy Scan / Codacy Security Scan (push) Successful in 1m16s
Test WHY2-core / test-why2 (why2, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m54s
Test WHY2-logger / test-why2 (why2-logger, ./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m54s
Build WHY2-chat / test-why2 (./out/why2-chat-client, ./configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 2m20s
Test Project / test-project (./configure.sh, gdb -ex "run" -ex "quit" --batch, ubuntu-latest, ./test) (push) Failing after 2m29s

This commit is contained in:
Václav Šmejkal 2025-02-01 19:23:24 +01:00
parent a0bb314010
commit e99f0115d6
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -936,6 +936,7 @@ void *why2_authority_communicate_thread(void *arg)
//DEALLOCATION
why2_deallocate(path);
why2_deallocate(cert);
exiting = 1;
}
} else exiting = 1;
@ -947,6 +948,8 @@ void *why2_authority_communicate_thread(void *arg)
why2_deallocate(code);
} while (!exiting);
printf("User disconnected.\t%d\n", connection);
return NULL;
}