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

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