chiark / gitweb /
wip fixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 2 Apr 2017 21:20:45 +0000 (22:20 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 2 Apr 2017 21:20:45 +0000 (22:20 +0100)
README.config
client

index 881694f272ca50e8933c20c839c09f58a248847d..fc2922f0e8aef5bab7722026a10943b57a770fdf 100644 (file)
@@ -61,7 +61,12 @@ Capped settings:
      [65536 bytes; LIMIT: 262144 bytes]
 
   max_queue_time
-     Discard downwards packets after this long (used by server only)
+     Discard packets after they have been queued this long waiting
+     for http.
+     On server: setting applies to downward packets, and is capped
+      by LIMIT values.
+     On client: setting applies to upward packets, and is
+      not affected by LIMIT values.
      [10 s; LIMIT: 121 s]
 
   http_timeout
diff --git a/client b/client
index 074803af97ef51080f627609330b5d6d2aca82e8..a56dde2fbc0f92ec5321c0ba80465aed373184eb 100755 (executable)
--- a/client
+++ b/client
@@ -214,6 +214,7 @@ def process_cfg(putative_servers, putative_clients):
       c.max_outstanding = srch(cfg.getint, 'max_requests_outstanding')
       c.max_batch_up    = srch(cfg.getint, 'max_batch_up')
       c.http_retry      = srch(cfg.getint, 'http_retry')
+      c.max_queue_time  = srch(cfg.getint, 'max_queue_time')
       c.vroutes         = srch(cfg.get,    'vroutes')
 
       try: c.url = srch(cfg.get,'url')