Blame SOURCES/0051-Improve-documentation-of-better_stou-in-the-man-page.patch

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