Jan Kneschke
d0c12ea533
when ever we have content-length we have to forward it.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@683 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:34:06 +00:00
Jan Kneschke
603d6ace1d
don't try to guess, do a read check if we can open it.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@682 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:24:17 +00:00
Jan Kneschke
52125c82b8
check that we can really read the file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@681 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:07:30 +00:00
Jan Kneschke
326fa40875
compail about the right plugin and don't segfault
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@680 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:07:00 +00:00
Xuefer
363301ccf3
added 'V' for HTTP_HOST, updated default accesslog format.
...
able to log all method supported by lighttpd.
cleanup (and possibly be faster) a bit by b=p->conf.access_logbuffer.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@679 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 16:09:42 +00:00
Jan Kneschke
5ae22303f4
fixed last-modified handling and handle absolute path names correctly ( fixed #244 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@678 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 13:30:44 +00:00
Jan Kneschke
286b6100a4
moved the etag.h to the right file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@677 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 12:38:42 +00:00
Jan Kneschke
d956619380
make MacOS X happy when it domes to mod_cml and lua
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@676 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 10:45:45 +00:00
Jan Kneschke
3553b694d0
don't fetch the error-msg a second time
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@675 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 10:44:44 +00:00
Jan Kneschke
cdd1f9547b
a simple connect() on the port is better and faster
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@674 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 13:24:19 +00:00
Jan Kneschke
a732e84748
use netstat to check if a process is listening on port 1026
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@673 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 12:10:59 +00:00
Xuefer
6f3e816fba
redirect don't need $tf->{HOSTNAME}
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@672 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 11:55:03 +00:00
Xuefer
7c4bd1e8bb
wait the fastcgi process to be up
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@671 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 11:54:39 +00:00
Jan Kneschke
3ebc17571a
find perl at runtime
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@670 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 11:44:57 +00:00
Jan Kneschke
a44e7fc4c4
replace 'localhost' by gethostbyaddr for 127.0.0.1
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@669 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 11:12:05 +00:00
Jan Kneschke
8e742eac4c
minor portability fixes
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@668 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 10:33:48 +00:00
Jan Kneschke
09f5416912
some files aren't shipped anymore
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@667 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 09:08:43 +00:00
Jan Kneschke
2d95a31db2
perpare for the 1.4.3 release
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@666 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 08:42:25 +00:00
Jan Kneschke
478053510b
only try to open the event-handler, but close right away as we have to open it AFTER the daemonize again
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@665 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 07:47:40 +00:00
Jan Kneschke
e45388fc44
added file_isdir
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@664 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 23:06:59 +00:00
Jan Kneschke
f350d3253a
replaced /bin/sh exec by a simple cmdline parser ( fixed #133 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@663 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 23:01:08 +00:00
Jan Kneschke
1a50f47b30
fixed error-msg
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@662 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 23:00:32 +00:00
Jan Kneschke
4fc9ee0f86
removed duplicate test-scripts, added a test for bin-copy-env and cleaned up configfiles
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@661 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 23:00:04 +00:00
Jan Kneschke
a7d25eb577
add 404 and 403 to request-handling debug output
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@660 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 21:26:09 +00:00
Jan Kneschke
131f9a3293
use the standard value for it
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@659 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 21:25:42 +00:00
Jan Kneschke
32c28a0421
make ucbcc on sol9 happy as B_TRUE and B_FALSE are defined somewhere
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@658 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 21:25:18 +00:00
Xuefer
4846d4ed80
the lost part of [240]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@657 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 13:57:09 +00:00
Jan Kneschke
1230c4c9b4
mod_cml needs lualib
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@656 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 13:39:46 +00:00
Jan Kneschke
9dd464a72b
moved last-modifed handling to response.c and let mod_cml_lua.c use it.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@655 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 13:39:09 +00:00
Jan Kneschke
7988661090
added tests for keep-alive and setenv and passed a ARRAY ref instead of a HASH ref
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@654 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 12:55:44 +00:00
Jan Kneschke
5c20c426b7
added gracefull shutdown and max-connections
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@653 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 09:16:18 +00:00
Jan Kneschke
3749f4cbfb
limit max_fds to FD_SETSIZE of select is used.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@652 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 08:08:32 +00:00
Jan Kneschke
a99be4eb42
next is 1.4.3, simplified the sorting of the features and modules
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@651 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-30 11:27:40 +00:00
Jan Kneschke
e47ae00886
let kqueue startup after daemonize is done
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@650 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-30 10:42:06 +00:00
Jan Kneschke
d84a871547
after-release fixes for freebsd (merged [191])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@649 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 20:47:34 +00:00
Jan Kneschke
b14d500a9e
do a long wait if the lighttpd isn't starting up fast enough
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@647 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 14:12:31 +00:00
Jan Kneschke
15dc40cd36
removed the 'make distcheck' hack as we have -m now ([640], [630])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@646 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 14:11:47 +00:00
Jan Kneschke
1be36e4013
make 'make distcheck' happy and install files into _build/tests/
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@645 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 13:43:46 +00:00
Jan Kneschke
849cbb728e
create empty files for mimetype testing
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@644 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 12:42:06 +00:00
Jan Kneschke
60b1692695
prepare for 1.4.2
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@643 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 12:33:50 +00:00
Jan Kneschke
ef7955cc1f
fixed typos
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@642 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 12:30:23 +00:00
Jan Kneschke
7d4f64c476
don't set a global uri-prefix and added checks ( fixes #235 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@641 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 12:26:25 +00:00
Jan Kneschke
15b0109071
run tests in build root (merged #228 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@640 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 12:08:00 +00:00
Jan Kneschke
0f30ffa145
added --without-* for pcre and bzip2 (merged #225 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@639 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 12:06:45 +00:00
Jan Kneschke
c2f868c02a
removed optimization as it didn't handled alignement issues
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@638 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 11:11:35 +00:00
Jan Kneschke
ecb30c4eec
reverted last chngeset and added asserts() that all inserts and deletes are working
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@637 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 10:44:00 +00:00
Jan Kneschke
a3e25bf8ed
closed memleaks at shutdown
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@636 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 10:43:29 +00:00
Jan Kneschke
d1e70da839
iterate over the tree on delete and free() the nodes itself
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@635 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 09:50:37 +00:00
Jan Kneschke
e19d4d77db
for EAGAIN: don't close the fd twice, for the other errno's: close() might modify errno.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@634 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-28 21:32:43 +00:00
Xuefer
1f00903dd2
fix table css for easy of embeding
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@633 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-28 11:04:12 +00:00