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
15 years ago
Stefan Bühler
79e229c1f0
Optimized buffer usage in mod_proxy ( fixes #1850 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2365 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
0dea6999b5
Fix configure/cmake defines and checks
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2364 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
21c5377d3f
Use FD_CLOEXEC if possible ( fixes #1821 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2363 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
36f74e5d23
Revert url decoding+simplifying before matching of mod_rewrite/mod_redirect
...
- Lot of regressions (we forgot to reencode the result)
- Generic problem: after decode and rewrite "a?b?c": which '?' was the path?query seperator?
- Possible solution: only decode printable characters (without '?'), and encode the result; do not encode the '%' of a not decoded character.
- Still a problem with path simplifying, it seems many people use urls like this: http://server1/http%3a//server2/xxx
and rewrite the path into the querystring.
- Probably only usable with an extra config option
=> Do NOT use rewrite/redirect to protect specific urls.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2362 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
a64e7cd46b
[cmake] Fix ipv6 detection
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2360 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
454aefc51a
[cmake] Add basic cmake support
...
- Not distributed yet (so only available in svn checkout)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2359 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
34172dfb09
[tests] Fix tests/mod-compress.conf distribution
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2358 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
bcf2b160cf
Compare address family in inet_ntop_cache
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2353 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ae90172ad3
return mapped events for linux-sysepoll (worked as they have the same values)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2352 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
2a765780da
Fix fastcgi-authorizer handling; Status: 200 is now accepted as the doc requests
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2351 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
f786a82aa8
mod_alias: use log_error_write instead of fprintf
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2350 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
1efff8bf80
- add link to changeset
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2349 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
Stefan Bühler
376d613953
Check for lua and lua5.1 as pkg-config name with autotools
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2347 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
4b197d05ec
Fixed fix for round-robin in mod_proxy (forgot to increment the index) ( #1715 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2335 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
d64b33e193
- updated doc from wiki
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2334 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ab154ee528
- added cve numbers
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2327 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
4db2292d50
Fix duplicate connection keep-alive/transfer-encoding headers ( #960 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2326 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
Stefan Bühler
80a4f7a721
Fix fastcgi authorization in subdirectories with check-local=disabled; don't split pathinfo for authorizer. ( #963 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2324 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
87eea9e4c3
Trust pcre-config, do not check for pcre manually ( #1769 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2323 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
da4e28778f
Do not cache default vhost in mod_simple_vhost ( #709 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2322 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
65f4e4a8db
Try to convert string options to shorts for numeric options in config file; allows to use env-vars for numeric options. ( #1159 , thx andrewb)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2321 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
c426767ea2
Removed debian/, openwrt/ and cygwin/; they weren't kept up-to-date, and we decided to remove dist. specific stuff
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2320 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
b66dc12fda
Fix leaving zombie process with include_shell ( #1777 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2319 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
cfba07cb82
Now really fix mod auth ldap ( #1066 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2318 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
80a2ff3f3a
Do not rely on ioctl FIONREAD ( #673 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2317 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
90bfe20bf5
Fix mod_cgi segfault when bound to unix domain socket ( #653 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2316 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
8cfa29a7a2
Fix base64 decoding in mod_auth ( #1757 , thx guido)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2315 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
47f133cbd0
- next is 1.4.21
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2314 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
78db184594
[doc] added dir-listing.encoding to the example config
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2312 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
345462a45f
Use decoded url for matching in mod_redirect ( #1720 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2309 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
c8bce9b4a5
Fix mod_rewrite memleak/endless loop detection ( #1775 , thx phy - again!)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2306 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
3decb2647b
Fix memleak in request header parsing ( #1774 , thx qhy)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2305 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
86766c10c5
fix auth.backend.ldap.bind-dn/pw problems (thx ruskie)
...
- missing PATCH for them in mod_auth_patch_connection
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2304 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
6d1d3fc203
workaround ldap connection leak if a ldap connection failed (restarting ldap)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2303 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
e7ff94835f
fix splitting of auth-ldap filter
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2302 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
7a64f2f888
fix segfault for stat_cache(fam) calls with relative path (without '/', can be triggered by x-sendfile) ( #1750 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2299 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
5ab6fa6fd2
Change parser generation again as the previous fix broke building with some non-gnu make utils.
...
According to the automake faq this is only "hiding errors" and we should be able to do better,
but i don't see how (and their examples don't work with -jX).
For a clean solution we need to compile lemon for the build host, not the target.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2298 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
9cb47be07f
Fix small copy/paste typo in previous commit
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2297 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
9e6ef84e91
Do not send content-encoding for 304 ( #1754 ), thx yzlai
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2296 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ed346f3907
Fixed parser generating with automake
...
- we want "make dist" to generate them (so you can use them for cross compiles),
but we don't want them to be generated in the source dir.
so if you change the .y files and have an extra build dir, you have to delete
the generated parsers from your source.
they get deleted with "make maintainer-clean"
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2294 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
124d8cd555
Fix make dist (remove dummydir)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2293 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
22d8707ef2
Use struct copy instead of memcpy for volatile siginfo_t in server.c
...
Fixes "discards qualifiers" warning.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2292 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
Stefan Bühler
438626667c
Fix mem leak in ssi expression parser ( #1753 ), thx Take5k
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2289 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
5194c28220
Fix "comparison between signed and unsigned" warning on 64 bit in mod_fastcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2288 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
b511c42939
Replaced fprintf with log_error_write in mod-fastcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2287 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
43a9842b28
Add 'O' and 'X' to format characters in log_error_write
...
upper case stands for "don't append space"; o/O is for off_t, x/X for int as hex
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2286 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago