commit 34233997008feedc0628b5534da9c60749d6f1a6
parent 0c74ed3396d0503b06ff2f9aff48e02efece3833
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 26 Apr 2026 23:15:31 +0200
document new -F option
Diffstat:
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/manpages/paivana-httpd.1.rst b/manpages/paivana-httpd.1.rst
@@ -13,6 +13,8 @@ Synopsis
========
**paivana-httpd**
+[**-f**_|_**--respect-forwarded-headers**]
+[**-F**_|_**--force-complete-upload**]
[**-h**_|_**--help**]
[**-n**_|_**--no-payment**]
[**-u** *BYTES*_|_**--max-upload=**\ \ *BYTES*]
@@ -41,6 +43,18 @@ Its options are as follows:
paivana-httpd is itself behind a trusted reverse proxy that
sanitizes that header - otherwise clients can spoof their address.
+**-F** | **--force-complete-upload**
+ If set, uploads will be completed even if the server already
+ started to send a response. Usually, once the server has started
+ to send a response, we will stop any upload as this usually
+ indicates an error with the upload and continuing to upload
+ might just be inefficient. However, some servers could also
+ simply start responding early while still expecting to see
+ the full upload (while others would fail if an upload continued
+ when a response is already being sent). This flag can be used
+ to force uploads to continue even when the server is already
+ returning a response.
+
**-h** | **--help**
Print short help on options.