1 second ... probably a temporary hack that was missed in the cleanup)
$Log$
+Revision 1.410 1999/11/02 19:51:23 ajc
+* Fixed timeout problem for remote client sessions (all timeouts were set to
+ 1 second ... probably a temporary hack that was missed in the cleanup)
+
Revision 1.409 1999/11/02 03:03:27 ajc
* Several fixes to msgbase.c and netproc.c to prevent corrupted incoming
network traffic from crashing the server. Reject bad messages.
Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
* Initial CVS import
+
safestrncpy(CC->cs_clientname, desc, sizeof CC->cs_clientname);
CC->cs_clientname[31] = 0;
- lprintf(9, "Looking up hostname\n");
+ lprintf(9, "Looking up hostname '%s'\n", from_host);
if ((strlen(from_host)>0) &&
(is_public_client(CC->cs_host))) {
if (inet_aton(from_host, &addr))
while(len<bytes) {
FD_ZERO(&rfds);
FD_SET(CC->client_socket, &rfds);
- tv.tv_sec = 1;
+ tv.tv_sec = timeout;
tv.tv_usec = 0;
retval = select( (CC->client_socket)+1,