sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sks-devel] [PATCH] HKP Timeout


From: Peter Pramberger
Subject: [Sks-devel] [PATCH] HKP Timeout
Date: Wed, 25 Mar 2009 19:52:19 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15

Just remembered this - maybe SKS' internal default value should be increased?


Br,
Peter


-------- Original-Nachricht --------
Betreff: [Sks-devel] HKP Timeout
Datum: Tue, 13 Jun 2006 17:00:23 +0200
Von: Peter Pramberger <address@hidden>
An: address@hidden

Hi all!

I recently got a complaint from a user not able to download certain large PGP
keys. It turned out that he has a slow Internet connection (56k modem) and
always got a 408 error ("Timed out after 60 seconds") from SKS for at least
the following keys:

   0x94C09C7F
   0x74E0B766
   0x248AEB73
   0x307D56ED

This keys are quite large, eg. 0x94C09C7F has about 450KB thus exceeding the
default HKP timeout of 60s on slow connections. Increasing the timeout value
to 180s solved the problem (this way it should even work with 28.8 links).

I'd suggest that all operators set "wserver_timeout: 180" in sksconf to remove
this limitation.

Any thoughts?


Peter


diff -Naurp sks-1.1.0.orig/settings.ml sks-1.1.0/settings.ml
--- sks-1.1.0.orig/settings.ml  2008-05-08 03:05:54.000000000 +0200
+++ sks-1.1.0/settings.ml       2009-03-25 19:49:21.000000000 +0100
@@ -149,7 +149,7 @@ let set_ptree_thresh_mult value = ptree_
 let recon_thresh_mult = ref 30
 let set_recon_thresh_mult value = recon_thresh_mult := value
 
-let wserver_timeout = ref 60
+let wserver_timeout = ref 180
 let set_wserver_timeout value = wserver_timeout := value
 
 let reconciliation_config_timeout = ref 45

reply via email to

[Prev in Thread] Current Thread [Next in Thread]