]> git.ipfire.org Git - thirdparty/krb5.git/commit
Drop extra listen() call in gss-server 1171/head
authorIvan A. Melnikov <iv@altlinux.org>
Tue, 16 Mar 2021 10:18:01 +0000 (14:18 +0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 16 Mar 2021 20:32:18 +0000 (16:32 -0400)
commit926ab71da02b5b44f1ebd83977b31c653a556a92
tree92f49a69cb3f119277463875694e048ae10edffe
parentc5c11839e02c7993eb78f2c94c75c10cf93f2195
Drop extra listen() call in gss-server

There is already call to listen in create_socket(), and there is no
need to tie the backlog to the number of threads.  Also, here listen()
was sometimes called with zero backlog, making gss-server execution
(and tests) racy on slower and busy systems.
src/appl/gss-sample/gss-server.c
src/tests/gss-threads/gss-server.c