Commit Graph

834 Commits

Author SHA1 Message Date
Marcus Rückert b060b46dc9 - mark a few params as unused
- fix a few signed mismatch by casting to the correct type

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1363 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:21:42 +00:00
Marcus Rückert acd628fe09 - remove unused variable
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1362 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:20:32 +00:00
Marcus Rückert 7cefa9ce73 - cast ptrdiff_t to size_t to avoid a signed comparison warning
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1361 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:19:50 +00:00
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
2006-10-03 22:18:06 +00:00
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
2006-10-03 22:16:35 +00:00
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
2006-10-03 22:15:55 +00:00
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
2006-10-03 22:15:17 +00:00
Marcus Rückert 0bf00920a3 - if using gcc set the c standard to gnu99.
"solves" some compiler warnings.

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1356 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 14:59:56 +00:00
Marcus Rückert a4206f2ead - ignore Makefile and Makefile.in
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1355 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 14:54:23 +00:00
Marcus Rückert 80c296a6e2 - added "tags" to the ignorelist
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1354 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 14:49:39 +00:00
Marcus Rückert 1acecead61 - added configparser.h proc_open *.swp to the ignore list
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1353 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 14:48:58 +00:00
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
2006-10-03 13:33:35 +00:00
Marcus Rückert b68f200c99 - this is our 1.4.x maintenance branch
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1351 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 13:01:56 +00:00
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
2006-09-28 12:09:26 +00:00
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
2006-09-28 07:25:38 +00:00
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
2006-09-28 07:25:15 +00:00
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
2006-09-27 23:55:04 +00:00
Jan Kneschke 75174f144e we have a release
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1340 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-23 12:15:19 +00:00
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
2006-09-23 12:11:30 +00:00
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
2006-09-23 11:19:31 +00:00
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
2006-09-23 11:19:02 +00:00
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
2006-09-23 11:18:31 +00:00
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
2006-09-23 07:15:07 +00:00
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
2006-09-23 07:04:02 +00:00
Marcus Rückert 5130edf9d0 - added the webdav permissions fix
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1333 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-22 07:32:12 +00:00
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
2006-09-21 14:53:14 +00:00
Jan Kneschke 30d892061e merged [1174] and [1224]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1331 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-21 14:48:46 +00:00
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
2006-09-21 13:32:29 +00:00
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