aboutsummaryrefslogtreecommitdiffstats
path: root/slowcgi.8
diff options
context:
space:
mode:
Diffstat (limited to 'slowcgi.8')
-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