Stefan Bühler
c61122ddde
spawn-fcgi: Initialize socket address struct to zero
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2348 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
0f515626e4
- let spawn-fcgi propagate exit code from spawned fcgi application
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2198 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
00e5a032d6
- print success message to stdout (for discarding it from initscripts)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2196 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
f08ffad238
- strerror() wants errno as param not arbitary exit value from spawned child
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2194 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
ef95813dea
- merge spawn-fcgi changes from trunk (from @2191)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2192 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
0adc0af5fd
Fix #1575 : spawn-fcgi: only try to connect to unix socket (not tcp) before spawning
...
- we do not need to check for a tcp socket this way as bind will fail if the socket is in use;
this does not apply to unix sockets as they are not bound to a filename but to the file, which
we delete before spawning.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2106 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
b0f37b9c50
- use execv() directly to fcgi app if used as argument. resolves #1428
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2023 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
68ebed3753
- typo
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2021 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
9ab9f176d2
- apply patches from #1384
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2020 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
c4e3150283
fixed possible overflow in unix-socket path checks on BSD ( #713 )
...
- use sizeof(sun_path) instead of UNIX_PATH_MAX which might not be
defined
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1944 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
768a0d0eab
fixed type-cast for NULL in execl() ( fixes #1235 ), fix provided by Frank
...
DENIS
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1872 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
8cd1471cb3
- white space cleanup part 2 this time 1.4 ;)
...
i hope it helps with merging stuff back to 1.5
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1371 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
68033b8e62
merged [270] ( fixes #871 )
...
- call initgroups() in spawn-fcgi.c
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1368 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
bfc8289f82
added ability to specify which ip address spawn-fci listens on ( fixes #504 ), patch by agkr@pobox.com
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1029 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
85617fc337
add no-fork option for daemontools ( fixed #295 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@787 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
56e8df101c
part of [733]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@770 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
8b88536b71
REUSE the socket on spawning
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@606 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
74a38947f7
use exec to replace the shell
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@493 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
340d3a763b
added -P <pidfile> to write a PID file on successfull spawning
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@400 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0cccf378c7
PACKAGE -> PACKAGE_NAME (by smi)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@67 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
Jan Kneschke
bcdc6a3bbc
moved everything below trunk/ and added branches/ and tags/
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago