SSL connection timeout (and 2 patches)
Julien ÉLIE
julien at trigofacile.com
Sun May 18 20:49:52 UTC 2008
Hi Matija,
> I've wanted to implement SSL on my INN 2.4.3 servers, but there were
> problems with various clients hanging while posting articles (as discussed
> on the list).
Indeed, it only worked fine with stunnel.
> Attached inn-2.4.4_nnrpd_SSL_alarm.diff implements this alarm() call, making
> inn.conf "clienttimeout" variable work also on SSL connections.
Thanks!
line.c: In function 'alarmHandler':
line.c:49: warning: unused parameter 's'
What am I supposed to do with "s" in alarmHandler(int s)?
> Either patch should fix the problems with nrrpd-ssl processes never dying
> but each does address separate problem (and in separate ways). KEEPALIVE
> patch detects dead connections, but ALARM patch implements clienttimeout
> policy (which could, but might not, deal only with hanged connections).
>
>
> I'd recommend implementing both of them.
What is the use of KEEPALIVE if ALARM does the same job, and even more?
--
Julien ÉLIE
« Animi limina. »
More information about the inn-workers
mailing list