OpenBSD CVS

CVS log for src/usr.sbin/slowcgi/slowcgi.c


[BACK] Up to [local] / src / usr.sbin / slowcgi

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.64 / (download) - annotate - [select for diffs], Sun Aug 7 07:43:53 2022 UTC (22 months ago) by op
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

zap extra space in usage added by mistake in last commit.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Aug 6 17:11:36 2022 UTC (22 months ago) by op
Branch: MAIN
Changes since 1.62: +12 -4 lines
Diff to previous 1.62 (colored)

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.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Sep 2 14:14:44 2021 UTC (2 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

list -v with -d in SYNOPSIS, instead of seperately,
and add -v to usage();

Revision 1.61 / (download) - annotate - [select for diffs], Thu Sep 2 13:18:04 2021 UTC (2 years, 9 months ago) by florian
Branch: MAIN
Changes since 1.60: +12 -7 lines
Diff to previous 1.60 (colored)

Stop sending debug logging to syslog (which would then drop it on the
floor) all the time. Instead debug logging must be requested with the
new -v flag.
Problem reported and fix provided by weerd@

Revision 1.60 / (download) - annotate - [select for diffs], Tue Apr 20 07:35:42 2021 UTC (3 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.59: +8 -33 lines
Diff to previous 1.59 (colored)

Use LIST instead of SLIST for requests. The way SLIST_REMOVE was used did
a double traverse of the list which now is replaced with no traversal at all.
Also stop double wrapping requests just for the list.
OK millert@

Revision 1.59 / (download) - annotate - [select for diffs], Tue Apr 20 07:32:19 2021 UTC (3 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.58: +4 -8 lines
Diff to previous 1.58 (colored)

Ignore SIGPIPE by default and restore default behaviour before executing
the CGI.
OK bluhm@ florian@

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jan 8 22:05:34 2021 UTC (3 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.57: +3 -4 lines
Diff to previous 1.57 (colored)

accept_reserve() counter function argument doesn't need to be volatile.
Revision 1.21 removed the volatile from the cgi_inflight global but
accept_reserve() was not updated to match.  OK florian@

Revision 1.57 / (download) - annotate - [select for diffs], Mon May 11 10:40:12 2020 UTC (4 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.56: +4 -7 lines
Diff to previous 1.56 (colored)

Allow specifying -d multiple times. Only print the fcgi header data if
debug > 1 (-dd) since it adds a lot of noise to the output.
In syslog_debug do not check for the debug variable instead let syslog
handle it. Currently syslog_debug() would never print anything since it
is only called with debug = 0 (debug > 0 implies the console logger).
OK florian@

Revision 1.56 / (download) - annotate - [select for diffs], Fri May 8 07:41:33 2020 UTC (4 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

Just a bit of KNF.
OK florian@

Revision 1.55 / (download) - annotate - [select for diffs], Fri Oct 19 08:13:34 2018 UTC (5 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

When calculating the fd limit before accepting a new connection also
account for the inflight fds caused by the new connection. Without this
slowcgi could fail when close to the limit because FD_RESERVE is smaller
then FD_NEEDED.
OK florian@, tested by Kristaps Dzonsons

Revision 1.54 / (download) - annotate - [select for diffs], Sun Aug 19 12:31:41 2018 UTC (5 years, 9 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Call daemon with 0 as first argument so that it changes the cwd to /.
It is not a problem in slowcgi since it calls chroot(2) and then
chdir(2) shortly afterwards but hopefully prevents copying code into
daemons where it does matter.
Problem first observed by dlg in ntpd(8) which keeps sitting in the
directory from where it was started which might for example prevent an
unmount.
Discussed with deraadt@

Revision 1.53 / (download) - annotate - [select for diffs], Mon Aug 13 16:54:50 2018 UTC (5 years, 9 months ago) by florian
Branch: MAIN
Changes since 1.52: +12 -6 lines
Diff to previous 1.52 (colored)

Make the owner of fcgi socket configurable.

Andrew Daugherity (andrew.daugherity AT gmail) pointed out that this
is helpful for his port to linux. For example on openSUSE nginx and
Apache run as different users so a compile time default user won't cut
it.
Man page tweaks jmc@

While here, consistently log users at debug level; from Andrew.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jul 4 12:48:36 2017 UTC (6 years, 11 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

consistently use the evtimer wrappers around the connection timeout.

this is instead of setting the timeout up with event_set and
event_add, but removing it with evtimer_del. this uses evtimer_set
and evtimer_add.

prompted by dlg's commit to identd
OK dlg

Revision 1.51 / (download) - annotate - [select for diffs], Fri May 26 17:38:46 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.50: +5 -5 lines
Diff to previous 1.50 (colored)

Sync the severity of the syslog_* functions shared between identd, slowcgi,
tftp-proxy and tftpd to the severity used in log.c style loggers.
This also fixes an issue where syslog_err and syslog_errx logged with
different severities.

Sure deraadt@

Revision 1.50 / (download) - annotate - [select for diffs], Sun Sep 4 14:40:34 2016 UTC (7 years, 9 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.49: +28 -15 lines
Diff to previous 1.49 (colored)

Add format attribute to logger functions.
Fix format string while here.
Input & OK benno@

Revision 1.49 / (download) - annotate - [select for diffs], Tue Aug 16 08:23:18 2016 UTC (7 years, 9 months ago) by reyk
Branch: MAIN
Changes since 1.48: +22 -3 lines
Diff to previous 1.48 (colored)

As suggested by the FastCGI spec, zero-pad the response buffers to be
aligned to 8 bytes.  This matches what most other implementations are
doing.  While here, make sure that the allocated response buffers are
zero'ed out.

OK florian@

Revision 1.48 / (download) - annotate - [select for diffs], Fri Nov 20 09:04:01 2015 UTC (8 years, 6 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

typo in error message: to -> too

ok florian@

Revision 1.47 / (download) - annotate - [select for diffs], Thu Nov 5 19:15:22 2015 UTC (8 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.46: +6 -1 lines
Diff to previous 1.46 (colored)

pledge(2) for slowcgi.
After initialization slowcgi accepts from a AF_UNIX socket, forks and
execs. After fork we only need to close(2), chdir(2) and exec.
OK benno@

Revision 1.46 / (download) - annotate - [select for diffs], Thu Nov 5 19:14:56 2015 UTC (8 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.45: +16 -15 lines
Diff to previous 1.45 (colored)

re-shuffle slowcgi_listen to run less code as root.
OK benno@

Revision 1.45 / (download) - annotate - [select for diffs], Fri Sep 25 20:15:28 2015 UTC (8 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

Output the contents of the environment in debug mode which is
most helpful in debugging interactions between httpd and slowcgi.
OK florian@

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jan 22 18:22:27 2015 UTC (9 years, 4 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.43: +5 -5 lines
Diff to previous 1.43 (colored)

Clean up includes, while here fix a white space which lead to a false
positive during grep'ing.
OK reyk

Revision 1.43 / (download) - annotate - [select for diffs], Mon Jan 19 21:18:47 2015 UTC (9 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.42: +3 -5 lines
Diff to previous 1.42 (colored)

The kernel doesn't actually care what a sockaddr's sa_len is on input,
so don't waste code setting it

improvment and ok florian@

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:20 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.41: +5 -4 lines
Diff to previous 1.41 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.41 / (download) - annotate - [select for diffs], Mon Dec 8 12:12:46 2014 UTC (9 years, 6 months ago) by blambert
Branch: MAIN
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

read(2) returns ssize_t, not size_t

ok florian@

Revision 1.40 / (download) - annotate - [select for diffs], Fri Dec 5 20:01:39 2014 UTC (9 years, 6 months ago) by florian
Branch: MAIN
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

Bail out if the buffer is too small to contain the length of a
parameter value.
Found while investigating a dead store pointed out by llvm scan-build.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Dec 5 19:59:55 2014 UTC (9 years, 6 months ago) by florian
Branch: MAIN
Changes since 1.38: +1 -5 lines
Diff to previous 1.38 (colored)

dead stores; pointed out by llvm scan-build; no binary change

Revision 1.38 / (download) - annotate - [select for diffs], Fri Dec 5 19:58:47 2014 UTC (9 years, 6 months ago) by florian
Branch: MAIN
Changes since 1.37: +5 -5 lines
Diff to previous 1.37 (colored)

pause shadows global; pointed out by gcc; no binary change

Revision 1.37 / (download) - annotate - [select for diffs], Fri Dec 5 19:57:27 2014 UTC (9 years, 6 months ago) by florian
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

mode is unused; pointed out by gcc; no binary change

Revision 1.36 / (download) - annotate - [select for diffs], Fri Dec 5 19:56:24 2014 UTC (9 years, 6 months ago) by florian
Branch: MAIN
Changes since 1.35: +12 -12 lines
Diff to previous 1.35 (colored)

declare lerr and lerrx __dead; unconfuses llvm scan-build

Revision 1.35 / (download) - annotate - [select for diffs], Fri Sep 19 21:28:32 2014 UTC (9 years, 8 months ago) by florian
Branch: MAIN
Changes since 1.34: +5 -11 lines
Diff to previous 1.34 (colored)

Instead of doing the fcntl(2) and ioctl(2) song and dance just tell
socket(2) and accept4(2) that we want non-blocking-close-on-exec
sockets.
OK benno@

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 13 21:46:25 2014 UTC (9 years, 11 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Use lerrx instead of errx since the logging subsystem is already initialized.
OK florian@

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jun 10 14:38:27 2014 UTC (10 years ago) by florian
Branch: MAIN
Changes since 1.32: +29 -12 lines
Diff to previous 1.32 (colored)

Implement -u (user to drop privs to) and -p flag (path to chroot to).
This allows to run slowcgi non-chrooted with -p /, requested by at
least ratchov@ and henning@.
Input by many, OK ratchov@ on a previous diff, "looks good" millert@,
man page bits tweak and OK schwarze@ (all some time ago); OK henning@

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jun 10 14:33:01 2014 UTC (10 years ago) by florian
Branch: MAIN
Changes since 1.31: +7 -10 lines
Diff to previous 1.31 (colored)

Cleanup socket creation.
Input ajacoutot some time ago; OK henning@

Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 16 14:43:43 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.30: +10 -5 lines
Diff to previous 1.30 (colored)

My previous attempt to chdir(2) to the directory containing the cgi
script was not quite right. slowcgi would try to chdir("") with a
SCRIPT_NAME of /foo.cgi; chdir("/") in that case.
I'm not sure how one would configure nginx/slowcgi to get to that
point though.
OK benno@

Revision 1.30 / (download) - annotate - [select for diffs], Mon Apr 14 19:25:48 2014 UTC (10 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.29: +6 -6 lines
Diff to previous 1.29 (colored)

Calculate the length of name and value for parameters the right way
around for the 4 byte encoding. With this QUERY_STRING can be longer
than 127 bytes.
Found the hard way while playing with smokeping.
OK benno@

Revision 1.29 / (download) - annotate - [select for diffs], Sun Apr 13 08:46:20 2014 UTC (10 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.28: +10 -1 lines
Diff to previous 1.28 (colored)

httpd(8) did a chdir(2) to the directory containing the cgi script. As
there might be scripts depending on this do the same in slowcgi(8).

pointed out and OK ratchov@

Revision 1.28 / (download) - annotate - [select for diffs], Mon Mar 17 13:39:29 2014 UTC (10 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.27: +6 -2 lines
Diff to previous 1.27 (colored)

jturner pointed out that if one wants to run cgi scripts outside
/cgi-bin SCRIPT_NAME doesn't cut it. The spec says: "The SCRIPT_NAME
variable MUST be set to a URL path". Use SCRIPT_FILENAME which can be
an absolute filesystem path for these cases and fall back to using
SCRIPT_NAME if SCRIPT_FILENAME is not present.
Details how to handle this worked out by jturner and sthen.
Based on an erlier diff by jturner.
Tested by jturner
OK jturner, sthen

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 19 00:01:05 2014 UTC (10 years, 4 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.26: +5 -2 lines
Diff to previous 1.26 (colored)

fix reaper loop that could run indefinitely

log execve() failures to syslog (very useful for debugging SCRIPT_NAME
problems)

ok florian@

Revision 1.26 / (download) - annotate - [select for diffs], Thu Oct 31 21:53:16 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.25: +6 -2 lines
Diff to previous 1.25 (colored)

Initialize sun_len, pointed out by deraadt@.
While there also check length of socket path, more relevant now since
an alternative socket can be specified.
OK benno@

Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 29 17:59:47 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.24: +26 -2 lines
Diff to previous 1.24 (colored)

Fix a potential file descriptor overlap in exec_cgi() by making sure
that file descriptors zero to two are always open when starting slowcgi.
pointed out, with and looks good to deraadt@

Revision 1.24 / (download) - annotate - [select for diffs], Wed Oct 23 15:29:21 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.23: +21 -20 lines
Diff to previous 1.23 (colored)

We need to loop around waitpid to catch all exited children as we are
not guaranteed to get one signal per child.
pointed out by deraadt
OK benno, blambert

Revision 1.23 / (download) - annotate - [select for diffs], Mon Oct 21 18:19:27 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.22: +17 -1 lines
Diff to previous 1.22 (colored)

Do not leak fds in fork(2) error path.
pointed out by deraadt@

Revision 1.22 / (download) - annotate - [select for diffs], Mon Oct 21 18:17:58 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Check for EINTR, too.
pointed out by deraadt@

Revision 1.21 / (download) - annotate - [select for diffs], Mon Oct 21 18:16:28 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

No need for volatile here.
pointed out by deraadt@

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 20 16:47:24 2013 UTC (10 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.19: +20 -18 lines
Diff to previous 1.19 (colored)

spelling, spacing, etc

Revision 1.19 / (download) - annotate - [select for diffs], Sun Oct 20 09:36:29 2013 UTC (10 years, 7 months ago) by benno
Branch: MAIN
Changes since 1.18: +35 -3 lines
Diff to previous 1.18 (colored)

reserve file descriptors for incoming connections so we
will be able to actually run the cgi for them later on.
mirrored on relayd.
ok florian@ blambert@

Revision 1.18 / (download) - annotate - [select for diffs], Sat Oct 19 14:18:35 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.17: +16 -4 lines
Diff to previous 1.17 (colored)

Keep track of which fds were closed before and only close those still
open.  Otherwise if there are parallel requests and the timing is just
right we were closing random fds from other connections.
OK blambert

Revision 1.17 / (download) - annotate - [select for diffs], Fri Oct 18 14:48:54 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.16: +12 -9 lines
Diff to previous 1.16 (colored)

Do not fiddle with the response queue directly but go through
a new slowcgi_add_response() function. This ensures that we
always do an event_add.
OK blambert

Revision 1.16 / (download) - annotate - [select for diffs], Fri Oct 18 14:47:47 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.15: +7 -1 lines
Diff to previous 1.15 (colored)

Logging to syslog works better with openlog(3).
OK blambert

Revision 1.15 / (download) - annotate - [select for diffs], Fri Oct 18 14:46:47 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.14: +25 -15 lines
Diff to previous 1.14 (colored)

Use a dedicated socketpair for stdin, makes the code more symetric and
gets rid of shutdown(2) which might cause problems.
OK blambert

Revision 1.14 / (download) - annotate - [select for diffs], Fri Oct 18 14:44:36 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Calculate correct pointer for fcgi_{begin,end}_request_body.
input / OK blambert

Revision 1.13 / (download) - annotate - [select for diffs], Fri Oct 18 14:43:21 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.12: +6 -3 lines
Diff to previous 1.12 (colored)

Calculate correct pointer for end_request; while there initialize
reserved to zero.
OK blambert

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 18 14:42:18 2013 UTC (10 years, 7 months ago) by florian
Branch: MAIN
Changes since 1.11: +8 -1 lines
Diff to previous 1.11 (colored)

set FD_CLOEXEC
OK blambert

Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 19 09:21:29 2013 UTC (10 years, 8 months ago) by blambert
Branch: MAIN
Changes since 1.10: +65 -65 lines
Diff to previous 1.10 (colored)

adjust the names to more accurately reflect the names of structs
and functions as they relate to the FastCGI protocol

style(9)ize some function declarations while here

ok florian@

Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 11 09:31:22 2013 UTC (10 years, 9 months ago) by blambert
Branch: MAIN
Changes since 1.9: +18 -1 lines
Diff to previous 1.9 (colored)

Sprinkle some comments which clarify the protocol/process flow.

ok florian@

Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 6 12:17:28 2013 UTC (10 years, 9 months ago) by blambert
Branch: MAIN
Changes since 1.8: +43 -8 lines
Diff to previous 1.8 (colored)

When dumping FastCGI protocol headers during debug, dump the
"request begin" and "request end" protocol entries in addition

While here, make the "FastCGI request body" struct's name
more precise (fcgi_end_request -> fcgi_end_request_body).

okay florian@

Revision 1.8 / (download) - annotate - [select for diffs], Fri Sep 6 07:36:03 2013 UTC (10 years, 9 months ago) by blambert
Branch: MAIN
Changes since 1.7: +9 -5 lines
Diff to previous 1.7 (colored)

Use the correct buffer size for memory allocation and reads.

okay florian@

Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 30 07:10:26 2013 UTC (10 years, 9 months ago) by blambert
Branch: MAIN
Changes since 1.6: +20 -6 lines
Diff to previous 1.6 (colored)

If the CGI script died due to receipt of signal, pass that back
to the HTTP frontend as the "application return status".

While here, add a pair of informative debugging statements.

ok florian@

Revision 1.6 / (download) - annotate - [select for diffs], Mon Aug 26 08:02:03 2013 UTC (10 years, 9 months ago) by blambert
Branch: MAIN
Changes since 1.5: +11 -6 lines
Diff to previous 1.5 (colored)

slowcgi grows an option to specify an alternate FastCGI socket
on which to listen.

okay dcoppa@, henning@, florian@

manpage okay from jmc@

Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 23 07:12:49 2013 UTC (10 years, 9 months ago) by blambert
Branch: MAIN
Changes since 1.4: +47 -41 lines
Diff to previous 1.4 (colored)

Give slowcgi a style(9) scrubbing. No functional change.

ok florian@

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 2 14:11:38 2013 UTC (11 years ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

move bgplg and slowcgi sockets to /var/www/run
input reyk@, guenther@
"move fast" deraadt@
OK naddy@

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 23 16:13:08 2013 UTC (11 years ago) by florian
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

off by one, from Henri Kemppainen <duclare-at-guu.fi>, thanks!

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 23 13:03:52 2013 UTC (11 years ago) by jasper
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

Fix pasto where 'c' instead of 'clients' is checked for NULL and add missing
free for the fcgi_response.

ok florian@

Revision 1.1 / (download) - annotate - [select for diffs], Thu May 23 12:03:24 2013 UTC (11 years ago) by florian
Branch: MAIN

Put slowcgi(8) a FastCGI to CGI wrapper in to work on it in tree.
Not hooked up to the build yet.
OK sthen@, deraadt@ agrees

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.