Subject: Re: Keepalives
To: None <tech-net@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-net
Date: 07/29/1998 14:19:16
>>> 2) there should be some way to run with *infinite* MAXIDLE/KEEPCNT,
>> This sounds as though you're asking for a way to disable keepalives
>> even for connections that have had them specifically requested.
> No.  I'm looking for a way to recover from the followinng sequence of events:
>       - connection goes idle
>       - network fails
>       - peer fails/discards connection
>       - wait a very long time
>       - network comes back.
> without *forcing* a connection to be lost in the following case:
> [same, without the "peer ..." item]

Aha.  Yes, I agree that's valuable to have.  I'll have a look at adding
another sysctl to control the number of retries, and either have zero
mean infinity or just let you set it to (~0)>>1 for what you want....

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B