Stefan Bühler
67cb38d0ca
always define _GNU_SOURCE
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2643 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-12 10:39:36 +00:00
Stefan Bühler
56adf372fb
Revert to _GNU_SOURCE before <time.h> for strptime
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2628 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-11 16:45:24 +00:00
Stefan Bühler
844d2e9ef5
Add _XOPEN_SOURCE for strptime
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2627 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-11 16:29:38 +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
Elan Ruusamäe
6c75b7bf24
- Combine Cache-Control header value in mod_expire to existing HTTP header if header already added by other modules ( fixes #2068 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2621 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-09-21 13:15:57 +00:00
Stefan Bühler
0413cf0ecf
Set tm.tm_isdst = 0 before mktime() ( fixes #2047 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2608 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-08-06 08:33:19 +00:00
Stefan Bühler
8629831df2
Remove strptime failed message ( fixes #2031 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2593 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-07-21 08:52:33 +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
3d20850451
Fix uninitialized value in time struct after strptime
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2366 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-12-18 22:23:26 +00:00
Stefan Bühler
ad12e4c5b2
Insert many con->mode checks; they should prevent two modules to handle the same request if they shouldn't ( #631 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2271 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-01 16:13:34 +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
Jan Kneschke
1920bd2739
fixed invalid "304 Not Modified" on broken timestamps
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1926 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-17 21:46:36 +00:00
Jan Kneschke
f1f11ba6ad
fixed crashed if gethostbyaddr() fails on redirect
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1718 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-03-26 08:21:39 +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
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
2c5ea3f303
301 has a content now, so we need a file_finished to say that we have not content
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@989 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-02-08 13:40:25 +00:00
Jan Kneschke
0ea0486d2f
fixed the DEBUG: warning for the Last-Modified header check
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@841 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-14 10:32:18 +00:00
Jan Kneschke
b71b54fc5b
added better debug
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@828 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-10 12:13:48 +00:00
Xuefer
58e4c26d94
remove warning for strptime
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@769 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-01 11:05:30 +00:00
Jan Kneschke
dccb266a39
improved error-msg and fixed invalid read from uninit memory
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@727 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-22 08:24:08 +00:00
Jan Kneschke
286b6100a4
moved the etag.h to the right file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@677 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 12:38:42 +00:00
Jan Kneschke
d956619380
make MacOS X happy when it domes to mod_cml and lua
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@676 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 10:45:45 +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
cd4c324ff2
allow numbers in header-keys
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@523 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 16:32:17 +00:00
Jan Kneschke
8b248ce3a5
moved SA_LEN macro to http-header-glue.c
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@50 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 09:04:44 +00:00
Jan Kneschke
d26f6893d9
moved external functions to *-glue.c
...
this simplifies the linkage on windows and macosx
which can't reference the binary for symbols
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@49 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 08:42:47 +00:00