Commit Graph

781 Commits (f9999e286ed0b00a1f0a2fdf4eb3015733e3e5e5)

Author SHA1 Message Date
Marcus Rückert fe77777647 - dont use int for a enum type
- handle default case in connection type switch

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1360 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert 3e7e2d528d - marked parameter as unused
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1359 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert 15fde9cf07 - mark a few parameters as unused
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1358 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert 91776b2d10 - remove unused variable
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1357 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 4581a73ab8 fixed off-by-one bug when the second CRLF after a HTTP-header is in a second read() call
- fixes #876


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1352 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 0ad43990ee added a better comment about the current (incomplete) state of LOCK support
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1346 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke a59faafd7d fixed the 501 code for a LOCK request
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1345 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 0014a87d02 added a check for uuid.h to the scons build
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1344 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert 347f6479c2 - configure.in:
check for uuid/uuid.h
- mod_webdav.c:
  change the conditional to use HAVE_UUID_UUID_h

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1343 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 15a488a945 use the right return-value for an error
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1339 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 634ec365f5 make the config-options arrays instead of strings
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1338 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke e332dce9bf improved error-msgs if on type-mismatch
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1337 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 67079527f4 changed name of shadowed variable
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1336 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke f56e3907fe merged [1078]
- allow empty arrays


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1335 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke dd35c9101c fixed connections falling back to non-ssl when keep-alive + ssl was used
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1334 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
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
17 years ago
Jan Kneschke 6ae9b8f58e removed buggy optimization
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1330 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 9ddae28ab5 removed duplicate lua-load calls which crash lua 5.0
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1329 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke a3542afd31 handle connection-close after after a broken header in keep-alive like
{{{
GET / HTTP/1.1
Host: foo

GET
}}}


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1328 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert b2239df913 - mod_webdav honors the umask now.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1327 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert a57bb8202e - fix logging of the path when using stat_cache debugging.
- always run symlink checks as it breaks otherwise

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1326 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
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
17 years ago
Jan Kneschke 8517995f52 added append_buffer_weak() which take the buffer directly instead of copying it
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1324 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 85775e6a5e removed debug info
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1323 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke f40d75f98d fixed crash with invalid hostmask is used (fixes #854)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1321 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke a34a3ae173 reverted [1312] as it led to seg-faults
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1319 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke dd0abe5aba print 'lighttpd -p -f ...' to stdout instead of stderr
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1318 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 9c773d9f7d fixed SSL + POST on Firefox
- moved the SSL-read code into a seperate function
- rewrote the "optimized" and ugly CRLF CRLF code



git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1317 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 6309a54031 handle ENOTCONN nicly on FreeBSD writev()
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1316 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 2721197ff6 workaround a hanging ssl-connections in Opera 9.01 and 8.54 (and earlier) if chunked-encoding is used
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1315 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke e98ea9c0b0 trust the autoconf-checks again
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1313 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 2a3ac19883 rici pointed me the lua_cpcall() to call a lua-c-function in protected mode
instead of used lua_atpanic to handle errors myself



git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1312 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 00a5770e2f fixed "Software caused connection abort" messages on FreeBSD
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1311 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 404f81e63b lua_State has to be put into the #ifdef too
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1309 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 4b8905d4b4 fix for lua not installed
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1308 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 49815a7798 fixed writev() for older glibc's
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1306 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert d9cb387859 - make the features output more portable
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1305 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 08c093b940 fixed mod_cml + lua 5.1
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1304 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 6e1a97da6b added missing header file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1302 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 9076cbdf5c if wait() gets interruped, don't increase the number of workers to start
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1301 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke e931d4f27f fixed compile if lua is not enabled
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1300 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 63ec609a56 - added set() for .env[]
- added .RESTART_REQUEST
- fixed handling of .content = { { ... } } if offset is set, but no length
- added range checks for offset and length



git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1299 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke c7b9858b03 added support for lighty.status[] in mod_magnet
- moved the status_counter_* functions from mod_fastcgi.c to status_counter.[ch]


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1298 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 1b47e99a34 luaL_newstate() is from lauxlib.h, #include it
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1297 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 7b4097f7ee oops, use SSL_CTX_* if you modify the ssl_ctx
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1296 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke b79f1a24c9 - moved all global vars to the lighty.* namespace
- added lighty.env[] to get read access to uri.path, physical.path and friends


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1295 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 51db8b5498 free hostname on shutdown (fixes #844)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1294 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 925cb27a14 - add a try-catch around add-content
- make the content-array simpler
- make request[] a porxy to the con->request array in c



git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1293 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke daeab348cd added mod_magnet
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1292 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 1311a6137f added comment on waitpid() + -HUP
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1291 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert 05919041e1 - only run symlink checks if we should not follow them.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1290 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke dcb2689f4d use sysconf() to get IOV_MAX (fixes #842)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1289 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert 27e3de6ca4 Remove unmaintained and not working pam code.
Most people would use pam auth with /etc/{passwd,shadow}.
This is a stupid idea anyway.

* src/server.c: Remove pam from the feature list (-V)
* src/http_auth.h, src/http_auth.c: Remove the pam code.

(merge of r1115:1116 from branches/lighttpd-merge-1.4.x/)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1288 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert 0f190e1614 - dont debug the statcache by default!;)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1287 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 7d4d819599 merged [1055], [1056], [1068], [1172], [1176]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1286 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 08994e478a don't use strndup if possible
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1285 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 3b73da83a2 merged [1217]
fixed allow-http-11


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1282 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
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
17 years ago
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
17 years ago
Jan Kneschke 47069040ba merged [1082]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1278 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 38b24d85d4 backported to the 1.4.11 interface
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1277 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 33983f89f1 merged -r1042:1194 for mod_webdav.c from the 1.5.0 tree
- added Content-Range support for PUT
- added experimental LOCK support
- call PREATE after the CREATE TABLE


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1276 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 71e66c88ec fix cygwin-only path traversal
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1275 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
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
17 years ago
Jan Kneschke 609a30e896 disable the ssl-write checks for a moving SSL-write-buffer
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1273 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 28f6aa9ba8 skip empty buffers
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1272 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 7ef30c4dfe don't forget the waitpid() for locally spawned processes (patch by Cameron Ring)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1038 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 55bfb4737d removed complex proc-load-balancing code and simplified it
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1037 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke a1eb4c307f big cleanup of error-handling
- re-enabling locally disabled backends works again
- cleanup error-messages on config errors


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1031 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 4753fb5dd5 added mod_flv_streaming.c for streaming flash movies efficiently
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1030 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke bfc8289f82 added ability to specify which ip address spawn-fci listens on (fixes #504), patch by agkr@pobox.com
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1029 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 66de89f0f8 432 is used by webdav for locked
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1027 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke fe8b467cc1 removed umask(0);, let the old umask stay in place (fixes #547)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1026 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 0b8de4b3ec allow leading zeros in HTTP/01.01 (fixes #542)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1025 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 9d3c1b09de fixed calculation of unix-socket path length if SUN_LEN is not defined (fixes #553)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1022 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke a743ad8063 fixed handling of subdirs in ssi (fixes #462), patch by robe
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1021 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 2882cdea8e fixed end of life memleaks (fixes #524)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1020 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 396d141efb don't init a SERVER["socket"] if it is initialized already
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1019 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 85fc576437 strip ... and %20 from physical filenames only on windows
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1018 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Xuefer 81daf1bb5b fixed #557: %0 crashed with !~
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1016 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke c76b19673a allow proxy to svn-apache do a commit
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1015 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke b268e163af added the WebDAV, class 2 methods (darix)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1012 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke cc27752623 added FAM_FLAGS and SQL_CFLAGS to the right modules (darix)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1011 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke a47316ba93 fixed typo
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1010 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 0525ed2816 fixed calculation of socket-len if SUN_LEN is not defined
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1009 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer 755765da9d lowercase filenames support, fixed #543
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1007 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 1982fda295 - close unused pipe-fds as soon as possible to generate a SIGPIPE if the remote end dies.
- only send REQUEST_URI and QUERY_STRING if they are set


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1006 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 4d1eadae1e handle 'foo.php... == foo.php' case on windows/dos
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1005 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke cc7a8ae03a improved error-msg for configuration errors
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1001 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 7cd02126d5 oops, fixed compile
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1000 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ba50f7fbfc don't terminate the request, just ignore it
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@999 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke f965cd20ae - move the extra-stat() out of the main-path
it was only used to detect file-shrinks, but also resulted in interupted 
  transfers if the file was removed, but still open.
- we detect file-shrinks now if sendfile() returns 0


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@998 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 7e861ea32e - decrement proc-load if we really incremented it
- added host.load as status-variable


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@997 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 6ae26a7dab fallback to madvise(), it works at least
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@996 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 83a0dc2702 disable posix_fadvise support as 2.4.x kernels cause problems here.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@992 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke a5b69917d1 if posix_fadvise is not implemented, ignore the error
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@991 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke d7339a70b9 mod_cgi is resetting physical.path *grr*
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@990 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke dfd9915628 removed warning
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@988 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ea76d50f84 load the three base modules if server.modules is not set
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@986 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 0892b04865 Status: 301 might have a body with a message (mod_proxy via apache)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@985 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 562f5c8e1f mod_scgi was illegally returning HANDLER_ERROR which cause a running cgi-request to be terminated.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@984 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke cf25271180 added list of compiled in modules (robe)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@982 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 24ff4eb0ab only load reasons for broken HTTP headers on request
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@980 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 156c02a466 test for posix_madvise
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@976 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 433f1883ac improved performance of env-creation and added DOCUMENT_ROOT to the env
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@973 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke c6273f69a8 fixed indention
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@972 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 4a81e17c6c qop is required nc and nonce (fixes #477)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@971 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 06d111d8aa distribute connect-storms properly over the available hosts
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@970 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke d0cbebef19 fixed typos (fixes #474)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@968 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 07a3253da9 added error-msg if FAMopen fails (fixes #484) (patch by avar)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@967 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke a6d91904fc removed quotes around values
- that was against the RFC 2109
- it broke IE
- if fixes #486


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@966 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke e7cf0f51d8 set var.CWD for later use with relative paths
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@965 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke f6abde6c73 remove unused config variable
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@964 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke de2196c142 don't append a \n for syslog() (fixes #481)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@963 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 9ec477a374 - fixed load-balancing (#480)
- added fastcgi.map-extensions 


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@962 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ca33bec31a - removed the session-id code
- prepared exporting cookies to cml
- CACHE_HIT and _MISS are booleans now


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@961 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 754f950fc1 set SEQENTIAL READ on the sendfile file-fds
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@960 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 869b6d4585 - darwin 7 doesn't like madvise
- use posix_madvise instead of madvise


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@959 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke de3bdbf1a2 fixed crash cause by missing comma (patch from <bobby@alphatrade.com>)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@958 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer bf67fb1413 implement global context
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@956 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 866af7bc31 added comment about applying response header multiple times
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@951 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 56109968f1 this should fix the 'missing cleanup' msg for mod_mysql_vhost
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@950 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 487723d947 only apply setenv once per request
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@949 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 6842dbb724 added tests for lowercase filesysytems
made mod_access aware of lowercase filesystems


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@948 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 0f437f2c23 remove unix domain socket if it is unused before binding to it (fixes #395)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@946 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 28e5c53a97 get known to the CONNECT method
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@945 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke c1d6012ce9 ENCODING_MINIMAL_XML was missing in last commit
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@944 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke e41496fba7 fixed error-msg
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@943 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke a1e6331f04 fixed encoding of UTF8 data (Jani Taskinen <sniper@iki.fi>)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@942 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke ebb0efb457 oops, split the path on the final path to the binary itself
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@938 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke fbcecd3303 fixed wording
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@935 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke fc813b7d35 fixed mem-leak (fixes #450)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@934 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 8cf82a44a1 fixed wording in error-msgs
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@931 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke e485768d1e handle a sendfile() = 0 is connection closed by remote side
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@930 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 2a4080a88b detect required static libs through ldd
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@929 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke f27b8d0168 fixed 'return 414 on overlong request-headers'
- 501 was returned if a unknown Method was used 


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@927 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 4a86d31562 chdir to the bin-path dir before exec()ing the to-be-spawned fastcgi backend
- fixes #331


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@926 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer 5da3530140 new build_static/build_fullstatic/build_dynamic option
install lighttpd to sbindir as the autoconf version


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@925 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ea57fa1747 ok, rel_path is not updated by mod_indexfile or the pathinfo handling
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@924 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 415e215746 use physical.rel_path instead url.path to handle case-insensitive file-systems in the right way
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@923 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 77083977ae added a fullstatic target
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@922 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke a5e280fd4b added static building of lighttpd
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@921 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 0ef0742654 added a comment what to do before we have Expect: support
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@920 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 78fe973055 - added mod_evasive to the autoconf build
- ignore connections from the count which are not yet initialized


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@919 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 8a010e16fb removed dead code which led to a collision on libsasl2 anyway
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@918 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke 7096a842b8 fix hang if mod_status is used without mod_fastcgi (fixes #439)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@916 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke abe6d62a02 don't strip numbers from the starting env (fixed #438)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@915 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke bc95f8024a added statistics to the fastcgi module and a simple text/plain reporter to mod_status
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@914 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke cd4fd6f4d3 Depth: 1 PROPFIND request have to include the requested collection too
- this fixes an error with kde ioslave for webdav seen in krusader


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@913 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ab8493f603 print usefull information if the backend crashes for some reason
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@912 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 28db0418f2 MSIE sends Content-Length: 0 for OPTIONS requests, tolerate that
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@911 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ab35f0e383 fixed the handling of the global webdav.log-xml option
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@910 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 96ffed78c3 added handling of If-Range
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@909 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 94334e46b2 1x INT == graceful shutdown
2x INT == hard shutdown


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@908 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 580823f791 forbid Content-Length for GET, HEAD or OPTIONS requests
allow duplicate If-Modified-Since headers if they are equal


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@907 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 4c91a14c4d added a static target to scons which compiles lighttpd staticly (incl. mod_access as test)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@903 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke b789ce87a1 remove zombies again
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@902 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 8f871d4f04 fixed empty Host: for mod_proxy (finally)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@901 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke b85fb3b41d fix logfile spamming on conn-refused and friends
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@900 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke 44cef4913a added the power-magnet to mod_cml
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@898 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ed6f81da16 fixed config option
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@897 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke f9e91971ac added mod_evasive to limit the number of connections by IP (<w1zzard@techpowerup.com>)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@896 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ae4a4143d6 improved error-msg
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@894 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 1ea90be00a fixed counting of unused blocks (sandy <sandy@meebo.com>)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@893 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 6e193e4040 make AIX happy and include fcntl.h instead of sys/fcntl.h (fixes #417)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@892 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke a39e5713d5 show HEADER.txt if it exists (fixes #246) (<mnag@FreeBSD.org>)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@891 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 33101e2057 include content-type in HTML too
- fixes #365 (patch from sniper@php.net)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@890 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke 70436a8805 used the wrong type for the configfile handling
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@888 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke d35482ee9a fixed typo (and next time I should at least compile before commiting)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@886 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 3faefdbaf1 don't crash if Host: is not set
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@885 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 4de36723c0 cleanup the connection-internals at the end of the of the response and not at the end of the connection
- fixed 100% loops and error-log messages for mod_cgi ("sandy" <sjen@cs.stanford.edu>)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@884 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 052f83e095 take the right docroot if simple-vhost is used for MOVE/COPY operations (fixes #389)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@883 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 780bc91ffe improved the error-msgs
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@882 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 7d2a0ff6dc fixed server-based traffic shaping if connection limit is not set
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@879 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke 269ccc70c8 in case the length is 0 don't decrement the lenght
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@877 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 2d7b1e0227 improved error-msg
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@876 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 478cb34bb3 reverted last patch as open + fstat() results in a hang on named-pipes
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@875 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 11c3722432 set content-type for errorfiles (fixed #383)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@874 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 4561af582d fixed 64bit printf() for size_t
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@873 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 7d8758598f - init FAM after fdevent-backend is up
- open + fstat instead of stat + open for speed reasons
- only init FAM if requested by config


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@872 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ad7d85b7f5 fixed possible overflow in password-salt handling
(reported on slashdot by james-web@and.org)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@871 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 2cc4f96765 fixed streaming cgi output (like cgi-irc)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@870 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke e9e05e3b03 fixed typo
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@868 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke f54cf620f1 suppress the 'using default-vhost' message by default
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@867 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 93ba0f958e fixed unsigned/signed compare
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@866 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 230e670078 check if we need -ldl to get dlopen
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@864 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 971dc42657 link all the files to mod_cml
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@863 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 93693b11e0 - don't duplicate Server and Date Header
- strip Connection header from backend response if we are proxy
- trust Connection-Length if we are proxy


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@862 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke 6db887ad3c added lua compile option
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@859 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 1375a63a82 fixed ranges for the unsigned fixes
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@858 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 62d8d1ef53 fixed md5 on 64bit platforms
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@856 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke aa7e634b75 fixed assertion if a read() returned with EGAIN in POST-read
and fixed pipelining + keep-alive


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@854 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 7d46051907 don't take all max-fds as solaris needs some fds for devpoll
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@853 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 4d5dd7fe4d don't try to encode a empty uri.path
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@852 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke f0583d8b73 fixed unsigned compare
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@851 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 0c6af9ae46 improved warning-message
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@850 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke f35df44d00 added ldap-support to scons-build for mod_auth
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@849 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke e3cac26e27 fixed unsinged compare
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@848 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 6ca932df94 made cafile optional for starttls as encryption might be enough for a start
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@847 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 95fb9a3cf7 init the fdevent-handler AFTER daemonize and AFTER the max-worker spawning
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@844 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 53144a5a86 fixed calcutation of offset and length for range-request
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@842 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke 0ed6b72923 darix asked for this version of the type cast
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@840 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 27a113bc20 cached FDs for the uploading chunk
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@839 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 87cfee3fc5 fixed SIGBUS in range-requests as we were mmaping/madvising too much
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@838 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke c60643433c use the SIMPLE stat-cache-engine as default
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@837 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 32879e3663 fixed stripping if strip and input are the same
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@833 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 2d961090e8 don't try to call sqlite3 function if we don't have a sqlite3 db set
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@832 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 57b7676542 fixed reconnect after dead php-backend
added strip-request-uri


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@831 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke b0c433da41 removed some debug
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@830 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke dc87ff8c44 fixed range request handling in network_writev
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@829 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke 319326b5af check return code of chdir and send SIGTERM to the childs when we shutdown
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@827 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 6770984a0c fixed encoding of the buffers and trust the length of the string
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@826 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 485fea2cbb improved hints if startup fails
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@825 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke f9cc749a8f accept no-error as return for the last xml-chunk
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@824 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 976f32182e simplified buffer-encoding functions into one function
- all of them do some kind of string-to-hex conversion
  (html, rel-uri, hex)
- add a rel-uri encoding next to the old rel-uri-part one
- fixes #266


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@822 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 95132d93c8 fixed warnings about unused vars and unhandled enum-values in switch()
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@821 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ea7b9aba9b added auto-reconnect to ldap (fixes #294), patch from joerg@netbsd.org
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@818 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 6fcfa114f1 fixed cache-control value
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@817 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke c3f45ae6dd fixed check for tempdirs
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@815 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke fa804343ca added debugging to webdav
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@814 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke d0751c5a2b fixed compile if openssl is not enabled
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@813 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke 308e5ce017 send Cache-Control next to Expire headers (fixing #350)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@811 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 6e424095f2 added check for madvise
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@810 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke 3888c10357 handle missing SSL-close-notify if keep-alive is disabled (fixed #311)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@803 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 0b3cc19a7f fixed assertion on failure of mkstemp or write on post-data
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@802 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 7fd269cf87 added support for userdir without a passwd entry
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@801 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 74d0c3d0de added BusyServer compat for ?auto
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@800 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 1022432a1e added %I for bytes_in
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@799 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ff0ec13761 get it compile on mac os x
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@797 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 03452de486 added madvise, smaller mmap()ed windows and local-buffering
(step 1 and 2 of the optimizations)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@796 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke c87a000c13 renamed file.offset to file.start (we had 3 different 'offset' which was confusing)
added a offset tag to the mmap part of the file-struct to allow moving mmap-windows




git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@795 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke 4f58672a85 added a comment on possible optimizations to the code and
added #ifdef USE_MADVISE to improve experimental support for read-head via mmap()


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@791 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke e84aba5c24 fixed missing sys/filio.h on solaris (fixes #332)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@790 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke c949273aa4 clean the error-queue is case we have a read/write error
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@789 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 85617fc337 add no-fork option for daemontools (fixed #295)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@787 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke d24262a03c gracefull -> graceful
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@785 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 1f0174e9d1 assume case-sensitive FS of upper + lower case result in the same filename (e.g. /1234/)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@783 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago