a5222c1
From 765f99b26705c8d6fe2be4feb07f4c91e7eb96f9 Mon Sep 17 00:00:00 2001
a5222c1
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
a5222c1
Date: Thu, 5 Apr 2018 12:29:03 +0200
7c0626d
Subject: [PATCH 51/59] Improve documentation of better_stou in the man page
a5222c1
a5222c1
---
a5222c1
 vsftpd.conf.5 | 7 ++++++-
a5222c1
 1 file changed, 6 insertions(+), 1 deletion(-)
a5222c1
a5222c1
diff --git a/vsftpd.conf.5 b/vsftpd.conf.5
a5222c1
index 6911a73..e9ae474 100644
a5222c1
--- a/vsftpd.conf.5
a5222c1
+++ b/vsftpd.conf.5
a5222c1
@@ -68,7 +68,12 @@ trick the C library into loading a user-created configuration file from the
a5222c1
 Default: NO
a5222c1
 .TP
a5222c1
 .B better_stou
a5222c1
-Use better file name generation algorithm for the STOU command.
a5222c1
+Use a better file name generation algorithm for the STOU command. The default
a5222c1
+original algorithm simply adds an increasing number suffix to the file name,
a5222c1
+which is prone to race conditions if multiple uploaders use the STOU command
a5222c1
+with the same file name simultaneously, which can result in failure of the
a5222c1
+command. The new algorithm adds a unique random six character suffix to
a5222c1
+the file name, which works much better in face of concurrent uploads.
a5222c1
 
a5222c1
 Default: NO
a5222c1
 .TP
a5222c1
-- 
7c0626d
2.14.4
a5222c1