aboutsummaryrefslogtreecommitdiffstats
path: root/slowcgi.8
diff options
context:
space:
mode:
authorop2022-08-06 17:11:36 +0000
committerWolfgang Müller2023-10-12 12:08:43 +0200
commit0917ae22bc82c991d38a66222846c31ee0d6692d (patch)
tree7eaaf4b66e493aa8acc43cadf20d99fe8567343c /slowcgi.8
parent0be49518a018ea21d92535f2813c70419e16bbfa (diff)
downloadslowcgi-0917ae22bc82c991d38a66222846c31ee0d6692d.tar.gz
add a -t flag to change the request timeout
original diff from Alfred Morgan (alfred [at] 54 dot org) ok florian@ and manpage tweaks by me.
Diffstat (limited to '')
-rw-r--r--slowcgi.811
1 files changed, 9 insertions, 2 deletions
diff --git a/slowcgi.8 b/slowcgi.8
index cfc4dee..e1f0afb 100644
--- a/slowcgi.8
+++ b/slowcgi.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: slowcgi.8,v 1.16 2021/09/02 14:14:44 jmc Exp $
+.\" $OpenBSD: slowcgi.8,v 1.17 2022/08/06 17:11:36 op Exp $
.\"
.\" Copyright (c) 2013 Florian Obser <florian@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: September 2 2021 $
+.Dd $Mdocdate: August 6 2022 $
.Dt SLOWCGI 8
.Os
.Sh NAME
@@ -25,6 +25,7 @@
.Op Fl dv
.Op Fl p Ar path
.Op Fl s Ar socket
+.Op Fl t Ar timeout
.Op Fl U Ar user
.Op Fl u Ar user
.Sh DESCRIPTION
@@ -76,6 +77,12 @@ effectively disables the chroot.
.It Fl s Ar socket
Create and bind to alternative local socket at
.Ar socket .
+.It Fl t Ar timeout
+Terminate the request after
+.Ar timeout
+seconds instead of the default 120 seconds.
+The CGI script is left to run but its standard input, output and error
+will be closed.
.It Fl U Ar user
Change the owner of
.Pa /var/www/run/slowcgi.sock