login
Header Space

 
 

ARCHIE fixit help: timeout(dirsend)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Wednesday, July 7, 1993 - 12:51 pm

In article <21dqnd$2d3@tamsun.tamu.edu>, root@tamu.edu () writes:

Well, actually, I can be of a little assistance.  We had the same problem
on our VAX's edition of archie.  I fixed it a while ago (and no longer have
the patch), but I remember what was wrong with it.

in dirsend.c or pfs.h...
check defines for client_dirsrv_timout, and timeout.tv_sec not getting
initialized correctly.

<pfs.h>
CLIENT_DIRSRV_TIMEOUT 8
CLIENT_DIRSRV_BACKOFF(x) (2 * x)
CLIENT_DIRSRV_RETRY 5

<dirsend.c>
int client_dirsrv_timeout = CLIENT_DIRSRV_TIMEOUT;

[...]

if(timeout.tv_sec==0) { 
  timeout.tv_sec = client_dirsrv_timeout;
  timeout.tv_usec=0;
}
--

if that doesn't help you out, let me know, and I'll try to pin down a more
'correct' fix.  Sorry I can't remember more.

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
| Leif Sawyer -= AXLAS@acad2.alaska.edu | WWIVNet (The Patroler)-= 340@9702 |
| Try these also -= ASLAS@acad3.alaska.edu | BITNET -= AXLAS@alaska.BITNET  |
| USnail -= 7311 Meadow #B Anch, AK 99507  |   #define FLAME /dev/null      |
| "Views expressed by moi are not necessarily those Defined by my employer" |
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ARCHIE fixit help: timeout(dirsend), Leif A Sawyer, (Wed Jul 7, 12:51 pm)
speck-geostationary