Stefan Bühler
b8b4fe19c8
Finally removed spawn-fcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2423 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
ce39062dd2
Fix workaround for incorrect path info/scriptname if fastcgi prefix is "/" ( fixes #729 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2421 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Elan Ruusamäe
61332595cb
- adjust identing after patch
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2419 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Elan Ruusamäe
0e84d4d4f5
- Create rrd file for empty rrdfile in mod_rrdtool ( #1788 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2418 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
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
14 years ago
Stefan Bühler
c60b60e7f0
workaround some warnings from libmemcache
...
- as libmemcache isn't maintained anymore, it is unlikely
the function signature get fixed (should be const char* instead of char*)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2413 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
ff1fe3a8ee
[cmake] add lighttpd-angel
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2412 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
4533af7668
Fix segfault if siginfo_t* is NULL in sigaction handler ( fixes #1926 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2409 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
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
14 years ago
Stefan Bühler
fbaceca37c
Fix useless redirection of stderr in mod_rrdtool, as it gets redirected to /dev/null later. ( fixes #1922 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2407 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
7883b7f2ff
Treat EPIPE as connection-closed error in network_freebsd_sendfile.c (another fix from #1913 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2405 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
a7ecb6b93a
Fix segfault in mod_scgi ( fixes #1911 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2404 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
950fbe58bd
Fix EAGAIN handling for freebsd sendfile ( fixes #1913 , thx AnMaster for spotting the problem)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2403 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
515d800f7c
Fix rrd error after graceful restart ( fixes #419 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2401 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
a15e1ce4bb
Handle EINTR in mod_rrdtool ( fixes #604 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2400 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
6ea62edd52
Fix default vhost in mod_simple_vhost ( fixes #1905 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2399 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
76f7b9543d
Fix wrong lua type for CACHE_MISS/CACHE_HIT in mod_cml ( fixes #533 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2398 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
e2fd8a89c1
Fix wrong format strings ( #1900 , thx stepancheg)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2394 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
066b208bb6
Added Language conditional ( fixes #1119 ); patch by petar
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2392 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
83e2296c02
Allow tabs in header values ( fixes #1822 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2391 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
Stefan Bühler
9960b1a3ed
Fix error handling in freebsd-sendfile ( fixes #1813 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2389 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
705fcaaff1
[cmake] Fix package version in binary
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2388 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
24d08807c5
Fix max-connection limit handling/100% cpu usage ( fixes #1436 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2387 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
Stefan Bühler
4456b579b7
Use/enforce sane max-connection values ( fixes #1803 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2383 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
e62b8c19bc
Disable SSLv2 by default
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2382 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
832ff277f2
Remove floating point math from server.c ( fixes #1402 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2381 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
4642508de3
Some small buffer.c fixes ( closes #1837 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2380 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
96eb3cf47c
Fix wrong malloc sizes in mod_accesslog (probably nothing bad happened...) ( fixes #1855 , thx ycheng)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2379 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
ce9409a397
- Do not pass Proxy-Connection: header from client to backend http server in mod_proxy ( #1877 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2372 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
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
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
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
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
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
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
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
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
Stefan Bühler
227d6f1b56
Fix format string bugs with sizeof(int)!=sizeof(size_t) in mod_accesslog for SYSLOG
...
(assuming there are no access-log-lines > 2GB)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2285 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
43075bd42a
Fix bug with case-insensitive filenames in mod_userdir ( #1589 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2283 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ec61ba0559
Match headers case insensitive in response (removing of X-{Sendfile,LIGHTTPD-*}, catching Date/Server)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2281 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ba715e1c8f
Fixed conditional patching of ldap filter ( #1564 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2280 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
5547928112
Decode url before matching in mod_rewrite ( #1720 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2278 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
e294fffbad
Print helpful error message on conditionals in global block ( #1550 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2277 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
8d837b75d0
Fix dropping last character of evhost pattern ( #161 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2275 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
b8835ab9a8
Allow digits in [s]cgi env vars ( #1712 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2274 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
d62f894344
Fix url encoding to encode more characters ( #266 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2272 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
Stefan Bühler
f7dd7203e2
Fix buffer_reset to make an empty string
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2270 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
6ce1dfb0d1
mod_{fast,s}cgi: overwrite environment variables ( #1722 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2265 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
a7f5983e05
Fix EINTR handling for waitpid in mod_fastcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2264 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
d0b5d2b45f
Fix round-robin balancing in mod_proxy ( #1715 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2258 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
60b90dad70
Use filedescriptor 0 for mod_scgi spawn socket, redirect STDERR to /dev/null ( #1716 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2257 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
c1662bcf8a
Handle EAGAIN and EINTR for freebsd sendfile ( #1675 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2256 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
3f791f46d5
Fix mod_secdownload problem with unsigned time_t ( #1688 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2255 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
0c16fddde3
Handle only HEAD, GET and POST in mod_dirlisting (same as in staticfile) ( #1687 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2253 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
41868422f3
case insensitive match for secdownload md5 token ( #1710 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2251 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
Stefan Bühler
25c7c7f3f8
fixed typo in mod_accesslog, localtime instead of localtime_r ( #1699 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2247 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
a70ba6c625
Fix scgi HTTP/1.* status parsing ( #1638 ), found by met@uberstats.com
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2223 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
543830266c
Fix bug with IPv6 in mod_evasive
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2222 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
f08cd32877
Close connection in mod_magnet if returned status code
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2201 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
cf789917f7
Close connection after redirect in trigger_b4_dl
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2200 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
0f515626e4
- let spawn-fcgi propagate exit code from spawned fcgi application
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2198 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
00e5a032d6
- print success message to stdout (for discarding it from initscripts)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2196 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
f08ffad238
- strerror() wants errno as param not arbitary exit value from spawned child
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2194 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
5fa895e8ec
- revert unwanted commit
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2193 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
ef95813dea
- merge spawn-fcgi changes from trunk (from @2191)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2192 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
b5632eada1
fixed #729 : Incorrect PATH_INFO when FastCGI is serving "/", use "fix-root-scriptname" => "enable" to workaround
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2182 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
695a227783
build mod_extforward in scons
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2176 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
5921dc1f2d
sync code between fastcgi->scgi: copy note_is_sent, fix typos
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2173 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
b557589f05
sync the "if" logic block with mod_fastcgi to make the indention same
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2172 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
098ea27629
merged [2170] from trunk: fixed include basedir within include_shell, thanks to lunatic
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2171 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
4adb52a416
Fix dependencies of the parser files in the Makefile
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2167 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
193b933329
Fix type in previous commit
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2166 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
e93cb224c1
Fix more warnings (unused var, pointer types in md5.c)
...
- Use const void* in instead of unsigned char* in MD5_Update
(same as in the openssl api, to avoid signed/unsigned char* warnings)
- Add const to some pointers in md5.c
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2165 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
93e7167f84
Implement a clean way to open /dev/null and use it to close stdin/out/err in the needed places ( #624 )
...
- as stderr gets redirected to /dev/null before exec in childs, we cannot
write to the log afterwards, so disabled that log messages too.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2163 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
f9999e286e
Disable logging to access.log if filename is an empty string
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2162 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
cbdd9e485b
Do not rely on PATH_MAX (POSIX does not require it) ( #580 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2161 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
5a9992b106
Fixed many warnings (compare (un)signed, unused vars, and initialize with zero)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2160 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
7adc4d7e8c
Remove generated mod_ssi_expreparser.h from source (should be generated by lemon)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2159 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
73189c64e7
Fix mod_magnet to set con->mode = p->id if it generates content, so returning 4xx/5xx doesn't append an error page
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2155 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ac92ea3616
Allow all http status codes by default; disable body only for 204,205 and 304; generate error pages for 4xx and 5xx ( #1639 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2154 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
8dd78e06c7
Handle EINTR in mod_cgi during write() ( #1640 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2153 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
4bf89c62b6
Overwrite Content-Type header in mod_dirlisting instead of inserting ( #1614 ), patch by Henrik Holst
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2152 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
Stefan Bühler
fe8b7e575e
Fix mod_fastcgi prefix matching: match the prefix always against url, not the absolute filepath (regardless of check-local)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2150 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
79a6ae3fd4
Fix accesslog port (should be port from the connection, not the "server.port") ( #1618 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2149 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
0841482318
Enable escaping of % and $ in redirect/rewrite; only two cases changed their behaviour: "%%" => "%", "$$" => "$"
...
Old behaviour was "%%" => "%%" and "$$" => "$$"
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2148 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
bb1d9af71c
Fix conditional interpretation of core options
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2147 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ff4cabbb1d
Don't send empty Server headers ( #1620 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2145 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Marcus Rückert
91d83ea983
- fix 2 small typos in the ssl fix
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2144 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
bcb3310a62
Use data_response_init in mod_fastcgi x-sendfile handling for response.headers, fix a small "memleak" ( #1628 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2143 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
6363a0908f
Fixed SSL_shutdown error handling problems which became visible after [2136].
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2139 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
2cf3927ef5
Fix segfault for appending matched parts if there was no regex matching (just give empty strings) ( #1601 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2138 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
80be71bd43
Fix mod_magnet: enable "request.method" and "request.protocol" in lighty.env ( #1308 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2137 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
2b46e3dacc
Fix #285 again: read error after SSL_shutdown (thx marton.illes@balabit.com) and clear the error queue before some other calls
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2136 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
2772e62d8d
Fix mod_extforward to compile with old gcc version ( #1591 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2129 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
Jan Kneschke
7bb555991c
fixed handling of waitpid() == EINTR mod_ssi on solaris
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2124 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
ec5c74ad12
workaround #1587 : require userdir.path to be set to enable mod_userdir (empty string allowed)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2120 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
0fd628958c
- verbose FCGI header too small error
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2119 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
85b8153dfc
Fix previous merge
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2113 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
9ffe08a583
merged part of [1528] from trunk: added the new options and added alternative names for user-agent, remote-ip and query-string
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2112 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
52840fa1ed
fix sending "408 - Timeout" instead of "410 - Gone" for timedout urls in mod_secdownload ( #1440 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2111 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
6754ad5116
fix min-procs handling in mod_scgi.c, just set to max-procs (patch from #623 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2109 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
c065f36bc1
r2136@chromobil: stefan | 2008-02-28 22:18:14 +0100
...
Fix sending source of cgi script instead of 500 error if fork fails
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2107 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
0adc0af5fd
Fix #1575 : spawn-fcgi: only try to connect to unix socket (not tcp) before spawning
...
- we do not need to check for a tcp socket this way as bind will fail if the socket is in use;
this does not apply to unix sockets as they are not bound to a filename but to the file, which
we delete before spawning.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2106 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Jan Kneschke
5b20e0d864
fixed missing initialization
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2104 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Jan Kneschke
46396ac56c
don't suppress the content of a status 300
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2103 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Jan Kneschke
7a61e46289
fixed warning about incompatible assignment
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2102 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
Stefan Bühler
debd30876a
r2123@chromobil: stefan | 2008-02-27 19:30:54 +0100
...
do not generate a "Content-Length: 0" header for HEAD requests, added test too
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2099 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
d1bb91108d
Fix Content-Length header if response body gets removed in connections.c ( #1412 , part 2)
...
- do not touch if it is a HEAD request (but set file_finished)
- body gets removed for req method OPTION and some status codes
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2098 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
f570913e3c
Fix #1412 : do not suppress content for "307 Temporary Redirect"
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2097 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
40a41e3b66
Fix the fix #1324/[2086]: if no module handled a request, treat method OPTION as 200, all others as 403.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2095 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
db1b286ecd
r2098@chromobil: stefan | 2008-02-26 17:12:51 +0100
...
Fix #1574 : Check for symlinks after successful pathinfo matching.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2093 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
c0db8ab168
r2097@chromobil: stefan | 2008-02-26 17:12:30 +0100
...
Fix #516 : RoundRobin in mod_proxy
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2092 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
88750bb7be
r2096@chromobil: stefan | 2008-02-26 17:12:09 +0100
...
Enhancement #1544 : Log the ip of failed auth tries in error.log
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2091 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
87145864db
r2095@chromobil: stefan | 2008-02-26 17:11:21 +0100
...
Fix #1449 : Do not add Accept-Ranges header if range-request is disabled
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2090 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
0a894c9cb3
r2094@chromobil: stefan | 2008-02-26 17:10:49 +0100
...
Fix #1413 : including of stdint.h/inttypes.h in etag.c
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2089 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
26c45e8004
r2093@chromobil: stefan | 2008-02-26 17:10:03 +0100
...
Fix #1349 : building outside of the src dir
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2088 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
03f515165f
r2092@chromobil: stefan | 2008-02-26 17:08:48 +0100
...
Fix #1347 : memory leak on windows
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2087 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
a25cbfa36b
r2091@chromobil: stefan | 2008-02-26 17:06:03 +0100
...
Fix #1324 : req-method OPTIONS: do not insert default response if request was denied
- Request is handled as denied if status != 0 && status != 200
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2086 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
Stefan Bühler
ad722324d9
r2089@chromobil: stefan | 2008-02-26 17:02:46 +0100
...
Fix #285 : Remove workaround for buggy Opera version with ssl/chunked encoding.
- The workaround may lead to a realloc, but the memory address for a repeated SSL_write must not change.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2084 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
Stefan Bühler
796502e7af
r2087@chromobil: stefan | 2008-02-26 17:01:12 +0100
...
Fix #1562 and try re-fixing #372 : out of range access in fd array
- Bug is in original #372 fix [853]
- The re-fix for #372 is not tested:
the problem is that Solaris doesn't want to poll for maxfds (ulimit) events,
as at least one filedescriptor is used for the poll device.
So the solution is to just ask for one event less; the number of events
actually available is returned by the poll syscall, so it should work.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2082 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
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
15 years ago
Stefan Bühler
f350d186fc
r2085@chromobil: stefan | 2008-02-26 16:14:50 +0100
...
Fix #1164 : Reset conditional cache
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2080 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
c97dc80862
fixed #1571 : Crash when trying to add single item to list in config file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2079 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Jan Kneschke
94feee046c
fixed handling of EAGAIN in linux-sendfile ( fixes #657 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2072 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
b719752a6c
handle ECONNRESET in the openssl backend
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2066 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
830bb59d86
don't report the "cgi died ?" in case we killed the dangling CGI process
...
with SIGTERM
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2065 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
9d6da0d16c
handle ECONNRESET as write-error()
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2063 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
cde46f6a3d
- support chained proxies in mod_extforward ( #1528 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2061 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
022742a5ae
- support letterhomes in mod_userdir ( #1473 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2058 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
15b126c73e
- cosmetic
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2054 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
3078b31568
- generate ETag and Last-Modified headers for mod_ssi based on newest modified include ( #1491 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2053 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
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
16 years ago
Elan Ruusamäe
a18086bc35
- open log immediately after daemonizing, fixes SIGPIPEs on startup ( #165 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2049 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
299ae40e78
- add IdleServers and Scoreboard directives in ?auto mode for mod_status ( #1507 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2045 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
0ce79f8a1c
- add missing files to EXTRA_DIST
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2043 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
1f68a04110
- prevent crash in certain php-fcgi configurations ( #841 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2037 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
513057ebd4
- fix also scgi and proxy modules. #1489
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2035 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
95769fb3f6
- Print error if X-LIGHTTPD-send-file cannot be done; reset header Content-Length for send-file.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2034 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
bdd2fce478
- fixed a bug that made /-prefixed fcgi extensions being handled also when matching the end of the uri ( #1489 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2030 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
708f499d75
fixed case-sensitive match of auth-method ( fixes #1456 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2026 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
b0f37b9c50
- use execv() directly to fcgi app if used as argument. resolves #1428
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2023 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
68ebed3753
- typo
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2021 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
9ab9f176d2
- apply patches from #1384
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2020 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
d6b9709b54
- support for matching $HTTP["scheme"] in configs, patch from:
...
http://trac.lighttpd.net/trac/wiki/HowToRedirectHttpToHttps
apparently by swiergot/at/gmail.com, adjusted for current svn.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2012 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
cb0f21c745
added support for If-Range: <date> ( fixes #1346 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2000 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
46e1ca19cc
use strchr() instead of index() as it is POSIX
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1994 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
7ce73896b7
- handle errors from the fcgi packet construction and return 400 if we have an error.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1993 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
5c333340be
free the buffers after the printed them in the error-msg
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1989 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
a3dcc8b505
- fixed crash with undefined environment variables
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1987 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
5b2e697cfa
* fixed hanging redirects with keep-alive due to missing
...
"Content-Length: 0" headers
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1985 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
eaed2f1e50
added some extra protection to make sure key-len and val-len don't
...
overrun
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1984 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
34b3ee0228
fixed FastCGI header overrun in mod_fastcgi
...
(reported by mattias@secweb.se )
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1983 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
e0629883a9
* fixed forwarding a SIGINT and SIGHUP when using max-workers ( #902 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1982 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
b333dd7efa
added a first version of the lighttpd-angel process
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1981 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
29fdd34abd
fixed compile error on IRIX 6.5.x on prctl()
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1980 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
f2c8fb6eca
- dont crash if the mod_alias config cant be parsed properly
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1974 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
15d8378422
- make sure the etag buffer is non empty if we compare it with if-non-match
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1971 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago