Jan Kneschke
d12d86d777
if we open more connections than we define with ulimit we might run
...
into a assert() in fdevent.c, try to limit the number of opened
connections before hand
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1873 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-06-15 15:30:34 +00:00
Elan Ruusamäe
72ac4ece2e
- prevent wrong pidfile unlinking on graceful restart (patch by Chris Webb)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1656 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-17 18:17:00 +00:00
Marcus Rückert
55a713a1a1
r1557@h2o: darix | 2007-01-14 10:55:33 +0100
...
- fix a crash for files with an mtime of 0
reported by cubiq on irc
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1519 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-01-14 09:58:14 +00:00
Jan Kneschke
1398cb2e3e
fixed some allocations in the ssl-part before lighty exits to make valgrind happy
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1372 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 13:31:49 +00:00
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
2006-10-04 13:26:23 +00:00
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
2006-10-04 07:36:10 +00:00
Jan Kneschke
dd0abe5aba
print 'lighttpd -p -f ...' to stdout instead of stderr
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1318 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-20 14:37:15 +00:00
Marcus Rückert
d9cb387859
- make the features output more portable
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1305 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-15 13:23:07 +00:00
Jan Kneschke
9076cbdf5c
if wait() gets interruped, don't increase the number of workers to start
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1301 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-15 12:01:29 +00:00
Marcus Rückert
27e3de6ca4
Remove unmaintained and not working pam code.
...
Most people would use pam auth with /etc/{passwd,shadow}.
This is a stupid idea anyway.
* src/server.c: Remove pam from the feature list (-V)
* src/http_auth.h, src/http_auth.c: Remove the pam code.
(merge of r1115:1116 from branches/lighttpd-merge-1.4.x/)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1288 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-07 14:21:17 +00:00
Marcus Rückert
657a024d53
- backport symlink patch in hard version to 1.4.11
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1281 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-07 11:00:02 +00:00
Jan Kneschke
fe8b467cc1
removed umask(0);, let the old umask stay in place ( fixes #547 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1026 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-03-04 17:12:46 +00:00
Jan Kneschke
2882cdea8e
fixed end of life memleaks ( fixes #524 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1020 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-03-04 14:57:35 +00:00
Jan Kneschke
cf25271180
added list of compiled in modules (robe)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@982 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-02-03 17:22:43 +00:00
Jan Kneschke
07a3253da9
added error-msg if FAMopen fails ( fixes #484 ) (patch by avar)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@967 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-31 13:10:23 +00:00
Jan Kneschke
94334e46b2
1x INT == graceful shutdown
...
2x INT == hard shutdown
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@908 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-03 14:44:47 +00:00
Jan Kneschke
e2f4ccd343
added internals for the statistics framework
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@899 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-02 23:15:26 +00:00
Jan Kneschke
2fe31be5c5
- next release is 1.4.9
...
- added checks for prctl to enable core files after setuid() <sandy@meebo.com>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@889 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-12-15 14:30:46 +00:00
Jan Kneschke
7d2a0ff6dc
fixed server-based traffic shaping if connection limit is not set
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@879 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-23 11:44:35 +00:00
Jan Kneschke
2d7b1e0227
improved error-msg
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@876 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-22 22:49:29 +00:00
Jan Kneschke
7d8758598f
- init FAM after fdevent-backend is up
...
- open + fstat instead of stat + open for speed reasons
- only init FAM if requested by config
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@872 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-22 11:21:35 +00:00
Jan Kneschke
60ccbd89f7
fixed unsigned compares
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@855 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-17 14:38:50 +00:00
Jan Kneschke
7d46051907
don't take all max-fds as solaris needs some fds for devpoll
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@853 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-17 14:07:52 +00:00
Jan Kneschke
95fb9a3cf7
init the fdevent-handler AFTER daemonize and AFTER the max-worker spawning
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@844 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-15 09:24:55 +00:00
Jan Kneschke
319326b5af
check return code of chdir and send SIGTERM to the childs when we shutdown
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@827 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-10 12:10:11 +00:00
Jan Kneschke
9404220490
chunkqueue can get a list of tempdirs which are tried to open a file at
...
server.upload-dirs is the option in the configfile
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@812 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-01 07:50:08 +00:00
Jan Kneschke
e290b119db
added startup-time selectable network-backend
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@808 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-31 15:34:00 +00:00
Jan Kneschke
d24262a03c
gracefull -> graceful
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@785 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-10 12:03:09 +00:00
Xuefer
89cbb82286
check all block for unknown config-key instead of only global one
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@761 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 17:09:12 +00:00
Xuefer
9be1abfb85
an unset header is now treat as empty_string "" to make the conditional logic correct.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@757 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 14:42:35 +00:00
Jan Kneschke
4b63eae57d
fixed crash in SIGINT handling
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@694 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-08 09:55:45 +00:00
Jan Kneschke
52125c82b8
check that we can really read the file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@681 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:07:30 +00:00
Jan Kneschke
5c20c426b7
added gracefull shutdown and max-connections
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@653 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 09:16:18 +00:00
Jan Kneschke
3749f4cbfb
limit max_fds to FD_SETSIZE of select is used.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@652 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 08:08:32 +00:00
Jan Kneschke
e47ae00886
let kqueue startup after daemonize is done
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@650 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-30 10:42:06 +00:00
Jan Kneschke
c7ec5012e0
added -m to set the location of the modules
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@630 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 14:43:45 +00:00
Jan Kneschke
c18d4565cd
removed -6 from help text and moved FAMOpen2() to a place after setuid() (merged patch from #233 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@629 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 14:36:02 +00:00
Jan Kneschke
d8394f7f2e
moved code to mod_staticfile, mod_dirlisting and mod_indexfile
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@541 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-15 09:55:23 +00:00
Jan Kneschke
bcbafe63db
minor cosmetics (merged [329], [330], [331])
...
* SIGINT for CTRL-C, exit nicely,
* -p for print, -t for test. new option to help testing your config.
* srv->config_patches is no longer used. was abandoned [295]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@527 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 17:07:55 +00:00
Jan Kneschke
6e78c2c8df
user defined variable, compute on parsing: string+string, int+int, array+array, var+=expression.
...
"include" sub configuration file. (merged ([308], [309], [306], [305])
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@520 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 14:40:47 +00:00
Jan Kneschke
c25cf5a056
O_BINARY for cygwin, volatile for sig_atomic_t (merged [286], [287])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@505 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 09:48:38 +00:00
Jan Kneschke
5e134da075
dropped file-cache, added stat-cache and modules ALWAYS cleanup at connection-end
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@502 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 08:22:06 +00:00
Jan Kneschke
adcc83d26f
cleaned up the errorlog writing, default is now stderr, syslog is requested explicitly
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@475 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-26 08:26:28 +00:00
Jan Kneschke
5400111ca3
cleanup errorfile_prefix properly
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@449 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-15 17:11:19 +00:00
Jan Kneschke
0c9b4d42ff
made errorfile-prefix conditional
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@446 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-15 13:26:16 +00:00
Jan Kneschke
288b0b51e7
removed segfault if parsing config fails
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@413 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-29 15:31:54 +00:00
Jan Kneschke
e2e1cc12b6
make encoding of dirlisting configurable ( #136 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@399 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-26 10:40:54 +00:00
Jan Kneschke
ba06bde6d5
merged [274] and [239]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@278 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-04-14 21:23:09 +00:00
Jan Kneschke
2477686b50
added dir-listing.hide-dotfiles and customizable CSS for dirlisting written by smi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@84 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-03 17:33:44 +00:00
Jan Kneschke
829aeb9455
SIGCLD -> SIGCHLD (reported by s0 and Pierre-Yves)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@77 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 15:50:50 +00:00
Jan Kneschke
9a5cf4a2ed
fixed handling of dead fastcgi processes if deamonized
...
fixed handling of dead fastcgi process which sent their SIGCLD to
initd and not to lighttpd. Moving the daemonize before starting
the fastcgi procs fixes this.
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@74 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 13:49:08 +00:00
Jan Kneschke
0cccf378c7
PACKAGE -> PACKAGE_NAME (by smi)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@67 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 22:16:42 +00:00
Jan Kneschke
7725e92ff6
rewrote the event and error handling with the help of the fcgi-responder.c from the tests.
...
fixed #38 and other issues this way
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@63 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 16:54:47 +00:00
Jan Kneschke
26b184ba6f
this one belongs to the last changeset
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@55 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 10:54:23 +00:00
Jan Kneschke
0cc8a5c56c
added ssl.ca-file and updated error-message if private and public key don't match
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@46 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 00:00:55 +00:00
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
2005-02-20 14:27:00 +00:00