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
2006-09-21 13:31:55 +00:00
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
2006-09-21 12:51:14 +00:00
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
2006-09-21 08:48:52 +00:00
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
2006-09-21 08:47:30 +00:00
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
2006-09-21 08:04:32 +00:00
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
2006-09-21 08:03:40 +00:00
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
2006-09-21 08:03:15 +00:00
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
2006-09-20 19:04:36 +00:00
Jan Kneschke
a4cabee7fd
added last minute changes
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1320 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-20 14:49:44 +00:00
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
2006-09-20 14:40:28 +00:00
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
2006-09-20 14:37:15 +00:00
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
2006-09-20 14:03:55 +00:00
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
2006-09-18 18:05:35 +00:00
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
2006-09-18 16:41:43 +00:00
Jan Kneschke
5f1c2d4eee
it runs fine with lua 5.0 too
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1314 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-16 11:30:41 +00:00
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
2006-09-16 11:30:11 +00:00
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
2006-09-16 11:29:48 +00:00
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
9b10531f79
use pkg-config to find lua via scons
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1310 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-16 11:27:38 +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
Marcus Rückert
73763f878b
- fix minor typo in the changelog
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1307 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-15 13:33:45 +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
f157915cab
added last changes before pre-release
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1303 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-15 12:02:05 +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
Marcus Rückert
7a6f8ced20
- added missing file symlink.t
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1284 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-07 11:33:21 +00:00
Jan Kneschke
3521657508
merged [1105]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1283 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-07 11:11:30 +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
d5c9873255
merged [1044], [1052], [1054]
...
updated NEWS file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1280 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-07 10:32:13 +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