Module Name: krb5 Committed By: raeburn Date: Fri Sep 27 03:38:34 UTC 2002 Modified Files: krb5/src/kdc/ChangeLog krb5/src/kdc/network.c Added Files: Removed Files: Log Message Limit the number of TCP connections that will be handled at one time. Remove some debugging calls. * network.c (struct connection): New field start_time. (tcp_data_counter, max_tcp_data_connections): New variables. (kill_tcp_connection): New function. (process_tcp_connection): Use it. Log reason for rejecting connection if the requested buffer size is too large. (accept_tcp_connection): If there are too many TCP connections already, shut down the oldest one. (setup_network, listen_and_process, process_tcp_connection, service_conn): Delete debugging code. (process_packet): Use socklen_t where appropriate. To generate a diff of this commit: cvs diff -r5.235 -r5.236 krb5/src/kdc/ChangeLog cvs diff -r5.54 -r5.55 krb5/src/kdc/network.c