Commit Graph

549 Commits

Author SHA1 Message Date
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
2006-09-16 11:28:28 +00:00
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
2006-09-15 15:32:18 +00:00
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
2006-09-15 14:56:41 +00:00
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
2006-09-15 13:28:07 +00:00
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
2006-09-15 13:23:07 +00:00
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
2006-09-15 12:52:53 +00:00
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
2006-09-15 12:01:43 +00:00
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
2006-09-15 12:01:29 +00:00
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
2006-09-15 11:49:57 +00:00
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
2006-09-15 10:00:46 +00:00
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
2006-09-14 12:00:32 +00:00
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
2006-09-14 11:55:26 +00:00
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
2006-09-14 11:55:01 +00:00
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
2006-09-13 13:13:27 +00:00
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
2006-09-13 10:12:31 +00:00
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
2006-09-11 20:37:29 +00:00
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
2006-09-10 22:01:43 +00:00
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
2006-09-10 22:01:26 +00:00
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
2006-09-10 14:11:08 +00:00
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
2006-09-09 13:21:21 +00:00
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
2006-09-07 14:21:17 +00:00
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
2006-09-07 14:01:38 +00:00
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
2006-09-07 12:28:48 +00:00
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
2006-09-07 12:17:00 +00:00
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
2006-09-07 11:05:41 +00:00
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
2006-09-07 11:00:02 +00:00
Jan Kneschke a85ca5e0ef merged [1051], [1052], [1053], [1054], [1057], [1060], [1061], [1062]
added ssl.use-sslv2 and ssl.cipher-list


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1279 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-07 10:19:29 +00:00
Jan Kneschke 47069040ba merged [1082]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1278 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-07 10:17:33 +00:00
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
2006-09-01 10:21:53 +00:00
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
2006-09-01 10:17:28 +00:00
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
2006-09-01 10:07:09 +00:00
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
2006-09-01 09:53:44 +00:00
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
2006-09-01 09:52:32 +00:00
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
2006-09-01 09:51:51 +00:00
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
2006-03-09 11:21:59 +00:00
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
2006-03-09 11:15:30 +00:00
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
2006-03-08 23:58:18 +00:00
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
2006-03-07 12:26:10 +00:00
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
2006-03-07 12:18:46 +00:00
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
2006-03-06 00:47:29 +00:00
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
2006-03-04 17:12:46 +00:00
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
2006-03-04 17:10:47 +00:00
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
2006-03-04 15:16:11 +00:00
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
2006-03-04 15:12:17 +00:00
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
2006-03-04 14:57:35 +00:00
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
2006-03-04 14:53:57 +00:00
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
2006-03-04 14:53:29 +00:00
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
2006-03-03 09:37:06 +00:00
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
2006-03-02 23:31:40 +00:00
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
2006-03-02 14:08:28 +00:00