Stefan Bühler
33f1ec6d28
[mod_compress] fix handling if etags are disabled but cache-dir is set - may lead to double response
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2826 152afb58-edef-0310-8abb-c4023f1b3aa9
2012-01-11 21:59:51 +00:00
Stefan Bühler
494ce8e3b0
[mod_compress] Fix segfault when etags are disabled ( fixes #2169 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2723 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-04-28 13:35:25 +00:00
Stefan Bühler
d21c645bfa
mod_compress: match partial+full content-type ( fixes #1552 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2634 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-11 19:27:55 +00:00
Stefan Bühler
22e8b456a9
Fix header inclusion order, always include "config.h" before any system header
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2624 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-11 14:31:42 +00:00
Stefan Bühler
63f785a2f8
Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2414 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-03-07 21:05:37 +00:00
Stefan Bühler
f0bbc7468c
Use modified etags in mod_compress ( fixes #1800 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2386 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-02-04 17:30:18 +00:00
Stefan Bühler
fdcb6f60f4
Allow mod_compress to return 304 (Not Modified); compress ignores the static-file.etags option.( fixes #1884 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2384 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-02-04 10:27:42 +00:00
Elan Ruusamäe
c6c2bf8308
- Add possibility to disable methods in mod_compress ( #1773 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2325 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-10-03 10:05:33 +00:00
Stefan Bühler
52861d77df
Replace buffer_{append,copy}_string with the _len variant where possible ( #1732 , thx crypt)
...
Replace BUFFER_{APPEND,COPY}_STRING_CONST with _len(b, CONST_STRL_LEN(x))
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2250 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-07-30 19:38:32 +00:00
Stefan Bühler
fcce4c9cbb
Fix comment style (use /* */ instead of //)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2151 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-04-23 13:10:41 +00:00
Stefan Bühler
adec5443ee
Fix mod_compress to compile with old gcc version ( #1592 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2128 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-03-13 15:34:10 +00:00
Stefan Bühler
87d3e8e41e
Fix #1150 : remove compress cache file if compression or write failed
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2101 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-27 19:36:34 +00:00
Stefan Bühler
a103fef58c
r2090@chromobil: stefan | 2008-02-26 17:04:14 +0100
...
Fix #1171 : Generate a etag/last-modified header for on-the-fly-compressed files. (as 1.5 already does)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2085 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:20:37 +00:00
Stefan Bühler
75f92dd796
r2088@chromobil: stefan | 2008-02-26 17:02:27 +0100
...
Fix #1565 : mod_compress should check if the request is already handled, e.g. by fastcgi
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2083 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:20:15 +00:00
Stefan Bühler
d0862e8522
r2086@chromobil: stefan | 2008-02-26 16:15:28 +0100
...
Fix #1027 : create directories in mod_compress (was broken with alias/userdir)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2081 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:19:53 +00:00
Jan Kneschke
e8abdbf94e
don't compress too small files ( fixes #1241 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1918 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-15 12:12:13 +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
a4be52451f
more unsigned/sign compare fixes
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@861 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-18 12:00:48 +00:00
Jan Kneschke
ff29203dba
close fds on error and add CLOEXEC to FDs which stay open for a longer time
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@794 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-22 08:10:07 +00:00
Jan Kneschke
51d6e2abf0
fixed output of non-cached compressed content and added test-cases
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@779 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-04 09:25:29 +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
e93ac5407b
if the write is waiting, break the loop.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@621 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-25 06:21:32 +00:00
Jan Kneschke
e8c45fbd58
don't try to compress a empty filename
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@602 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 23:09:15 +00:00
Jan Kneschke
172340e22f
let mod_compress prepare etag, last-modified and content-type
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@569 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-18 09:26:29 +00:00
Jan Kneschke
718e97b68b
don't segfault on stat-failed
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@552 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-16 14:22:03 +00:00
Jan Kneschke
ae02f2c48b
mod_staticfile is the next plugin, so don't call HANDLER_FINISHED
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@549 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-15 18:04:58 +00:00
Jan Kneschke
f926c361f9
..physical_path is gone and has ben replaced by subrequest_start
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@532 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-15 09:46:23 +00:00
Jan Kneschke
c8408d015c
removed setup_connection (merged [295])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@512 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 10:27:07 +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
8e67134b23
use size_t instead of unsigned int and char * instead of unsigned char *
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@369 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-05 11:59:33 +00:00
Jan Kneschke
06c35abe4a
updated ChangeLog and NEWS from timeline
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@70 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 23:28:52 +00:00
Jan Kneschke
bde657648d
compile fixes for MIPSpro on IRIX
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@68 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 23:01:12 +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