Commit Graph

384 Commits

Author SHA1 Message Date
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
Jan Kneschke 0212534554 fixed detection of mimetype on uppercase extensions
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@632 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 16:35:57 +00:00
Jan Kneschke c013b0180d off by one in the skip count
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@631 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 14:57:20 +00:00
Jan Kneschke c7ec5012e0 added -m to set the location of the modules
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@630 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 14:43:45 +00:00
Jan Kneschke c18d4565cd removed -6 from help text and moved FAMOpen2() to a place after setuid() (merged patch from #233)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@629 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 14:36:02 +00:00
Jan Kneschke e2fc3e86d0 closed mem-leaks on shutdown
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@628 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 14:34:40 +00:00
Jan Kneschke 98d5982d48 fixe dthe number of tests in mod-secdownload.t
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@627 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 14:15:51 +00:00
Jan Kneschke 294ecffdaf automate the build-process again
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@626 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 13:45:55 +00:00
Jan Kneschke 54d03b905b added large-file support for Range-Requests again.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@625 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-26 07:09:32 +00:00
Jan Kneschke c1ac34063e reset and free dst_addr_buf
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@624 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-25 20:09:46 +00:00