aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbot/worker/worker.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index 0489822..3f7b941 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -357,6 +357,12 @@ upload_manifest (tracer& trace,
{
try
{
+ // Piping the data directly into curl's stdin sometimes results in the
+ // broken pipe error on the client and partial/truncated upload on the
+ // server. This happens quite regularly on older Linux distributions
+ // (e.g., Debian 8, Ubuntu 16.04) but also sometimes on Windows. On the
+ // other hand, uploading from a file appears to work reliably.
+ //
#if 0
tftp_curl c (trace,
path ("-"),