aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-09-30 11:04:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-10-27 15:49:45 +0200
commitc87b1e4b8b474cdbdd2122006fdaa2a4866e9291 (patch)
treea275c25a0e78250f27e247a1079bb1b99a92344a
parente301f8343bdb2f274f0eec9ca8b2af57c14ac5a7 (diff)
Tweak TFTP parameters some more, this time including server
-rw-r--r--bbot/agent/tftp.cxx1
-rw-r--r--bbot/worker/worker.cxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/bbot/agent/tftp.cxx b/bbot/agent/tftp.cxx
index 80c626b..0df0d1b 100644
--- a/bbot/agent/tftp.cxx
+++ b/bbot/agent/tftp.cxx
@@ -116,6 +116,7 @@ namespace bbot
2,
"sudo", // Required for --secure (chroot).
"/usr/sbin/in.tftpd", // Standard installation location.
+ "--verbosity", 1, // Verbosity level.
"--timeout", 1, // Wait for more requests.
"--permissive", // Use inherited umask.
"--create", // Allow creating new files (PUT).
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index d5b9e20..e07df30 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -52,7 +52,7 @@ namespace bbot
// Note that upload can be quite large and take a while to upload under high
// load.
//
- const size_t tftp_blksize (1024); // Between 512 (default) and 65464.
+ const size_t tftp_blksize (1468); // Between 512 (default) and 65464.
const size_t tftp_put_timeout (3600); // 1 hour (also the default).
const size_t tftp_get_timeout (10); // 10 seconds.
const size_t tftp_get_retries (3); // Task request retries (see startup()).