Stefan Bühler
7ad4792357
Add support for "real" entropy from /dev/[u]random ( fixes #1977 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2524 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-11 09:53:34 +00:00
Stefan Bühler
0226d4bf36
Add option to enable TCP_DEFER_ACCEPT ( fixes #1447 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2479 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-26 17:59:55 +00:00
Stefan Bühler
1527160c69
Add support for pipe logging for server.errorlog ( fixes #296 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2466 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-10 10:50:51 +00:00
Stefan Bühler
def70d86e9
Remove the optional port info from SERVER_NAME (thx Mr_Bond)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2431 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-04-09 16:51:44 +00:00
Stefan Bühler
a6218765c2
Fix some problems with more strict compilers ( #1923 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2408 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-03-07 13:54:10 +00:00
Stefan Bühler
22bee5ad52
Silenced the annoying "request timed out" warning, enable with the "debug.log-timeouts" option ( fixes #1529 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2390 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-02-05 21:54:47 +00:00
Stefan Bühler
cb91487c8d
Add option to ignore the "Expect: 100-continue" header instead of returning 417 Expectation failed ( closes #1017 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2385 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-02-04 15:16:29 +00:00
Stefan Bühler
19588f6ee6
Hide some ssl errors per default, enable them with debug.log-ssl-noise ( #397 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2291 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-19 17:40:42 +00:00
Elan Ruusamäe
af4be7d0ce
- HTTPS env var should be "on" when using mod_extforward and the X-Forwarded-Proto header is set. ( #1499 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2052 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-18 09:07:54 +00:00
Jan Kneschke
3940c60e68
fixed aggressive caching of conditionals ( #41 )
...
$HTTP["url"] =~ "" { cgi.assign = ... } fails if there is a module
loaded which is called before uri_clean is set (mod_exforward,
mod_rewrite, ...)
- merged [1792], [1798], [1807], [1810], [1811] from trunk
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1942 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-18 09:27:11 +00:00
Marcus Rückert
5a583661e3
- only generate the etag_flags once and store them in the connections
...
object.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1881 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-07-03 18:47:00 +00:00
Jan Kneschke
b2a96c959a
added static-file.etags, etag.use-inode, etag.use-mtime,
...
etag.use-size to customize the generation of ETags for
static files. (fixes #1209 ) (patch by <Yusufg@gmail.com>)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1874 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-06-15 15:51:16 +00:00
Marcus Rückert
e61146a740
- applied patch from sh@linux2go.dk ( #1039 )
...
References to FAM stat cache engine should be conditional
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1664 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-19 13:55:07 +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
9de3807438
handle follow-symlink in the stat-cache
...
- added the follow-symlink into the hash-key
- delete all versions if a file/dir is moved or deleted
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1332 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-21 14:53:14 +00:00
Jan Kneschke
e9cc9ed36c
fixed SSL_ERROR_WANT_READ handling
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1325 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-21 08:04:32 +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
a85ca5e0ef
merged [1051], [1052], [1053], [1054], [1057], [1060], [1061], [1062]
...
added ssl.use-sslv2 and ssl.cipher-list
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1279 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-07 10:19:29 +00:00
Jan Kneschke
48ca389d89
- use a big SSL_read buffer which can read at least 16k + the pending bytes
...
- reuse the last read-buffer after a SSL_ERROR_WANT_READ
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1274 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-01 09:53:44 +00:00
Jan Kneschke
4afd2ae2af
renamed server.force-lower-case-files to server.force-lowercase-filenams
...
- use case-insensitive matches for mod_auth too if the FS is lower-case
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@939 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-11 23:05:06 +00:00
Jan Kneschke
ded1e9a834
cosmetics and added a comment about the order in the STATE enum
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@917 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-04 23:28:09 +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
b9b8a46f40
allow to bind the server to a unix-domain socket
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@878 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-23 10:46:21 +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
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
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
1c09f28447
removed con->request.content (mem-buffer) by a chunk-queue
...
which can buffer to tempfiles of the content is to large
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@741 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 08:56:39 +00:00
Jan Kneschke
c440468249
max-request-size was not respected since a long time
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@736 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 08:49:13 +00:00
Jan Kneschke
b4d9d061c8
either remove include config.h or covered it in HAVE_CONFIG_H
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@733 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-24 12:06:04 +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
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
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
75c3a8393a
added include_shell option to configfiles (merged the rest of the trunk changesets)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@530 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-09 06:42:33 +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
8073d5fe9f
added nested conditionals (merged [298])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@519 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 13:48:33 +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
6adaad5458
let mod_alias handle directories and files (merged [284], [294])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@504 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 09:42:27 +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
6d4a508763
added a switch to disable range requests, this doesn't fix #171 but is a workaround
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@482 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-28 21:05:16 +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
7126a0f2bc
detect endless loops and kill them
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@470 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-23 20:42:34 +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
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
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
75fae49e37
* If sizeof(long) == sizeof(off_t), buffer_{append,copy}_off_t()
...
are only macros to buffer_{append,copy}_long()
* ltostr() returns the string length instead of always 0
* Don't check return value of buffer_prepare_append(buffer *b), since
it only returns -1 if b == NULL, which we do a few lines above anyway.
* Improved buffer_path_simplify(). No "dot_stack" required anymore.
Operation can also be performed inplace.
* Check errno also against EACCES at pidfile-unlink for not logging
a "Permission denied".
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@54 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 10:38:16 +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