Commit Graph

300 Commits (6c160ec7d9c7bd39313ef432516bdf94095f079c)

Author SHA1 Message Date
Jan Kneschke 547cfb1a1c skip fastcgi checks if fastcgi-proc is not available
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@81 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-03 11:35:27 +00:00
Jan Kneschke 2ff1a6bc00 don't put download URLs in release-text for the web
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@80 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 18:37:16 +00:00
Jan Kneschke b68e4a2f2c strip double / on path-info
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@79 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 18:36:32 +00:00
Jan Kneschke 85194f365f fixed pathinfo handling on /fcgi_pattern
* added a new option broken-scriptfilename which should be 
  enabled for PHP if PATH_INFO is needed.
* droped path_info_offset and used PATH_INFO from response.c
  directly
* set PATH_TRANSLATED only if PATH_INFO is set
* always match the extension/prefix on uri.path



git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@78 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 18:36:02 +00:00
Jan Kneschke 829aeb9455 SIGCLD -> SIGCHLD (reported by s0 and Pierre-Yves)
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@77 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 15:50:50 +00:00
Jan Kneschke 79b7c4f8a9 moved to 1.3.12
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@75 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 13:49:54 +00:00
Jan Kneschke 9a5cf4a2ed fixed handling of dead fastcgi processes if deamonized
fixed handling of dead fastcgi process which sent their SIGCLD to
  initd and not to lighttpd. Moving the daemonize before starting
  the fastcgi procs fixes this.



git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@74 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 13:49:08 +00:00
Jan Kneschke 853b4f5b06 don't touch the exit-conditions for the loop directly (reverting a this part of one of the last changesets)
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@73 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 11:31:21 +00:00
Jan Kneschke 40e8c6714a seperated the tests for each section and let run-tests.pl use Test::Harness
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@72 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 11:27:02 +00:00
Jan Kneschke 3caa67a131 added | to the non-rfc characters in URI
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@71 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 09:11:42 +00:00
Jan Kneschke 06c35abe4a updated ChangeLog and NEWS from timeline
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@70 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 23:28:52 +00:00
Jan Kneschke 422275e60a get make distcheck working
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@69 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 23:28:21 +00:00
Jan Kneschke bde657648d compile fixes for MIPSpro on IRIX
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@68 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 23:01:12 +00:00
Jan Kneschke 0cccf378c7 PACKAGE -> PACKAGE_NAME (by smi)
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@67 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 22:16:42 +00:00
Jan Kneschke a289c3548e update keep-alive docs
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@66 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 17:40:51 +00:00
Jan Kneschke b103512514 added man page for spawn-fcgi and add a example for conditionals and simple-vhost
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@65 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 17:34:13 +00:00
Jan Kneschke 5ca4dff14d added tests for restarting fcgi-procs after they died
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@64 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 16:57:24 +00:00
Jan Kneschke 7725e92ff6 rewrote the event and error handling with the help of the fcgi-responder.c from the tests.
fixed #38 and other issues this way


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@63 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 16:54:47 +00:00
Jan Kneschke 2420fd96d2 added checks for the line-terminator handling and cleanup the configs
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@62 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 13:37:40 +00:00
Jan Kneschke bad98d1bba removed generated files from svn
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@61 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 10:57:11 +00:00
Jan Kneschke 0f779ce2f9 fixed #25 by setting all duplicates to 400
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@60 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 10:55:47 +00:00
Jan Kneschke a6dfdad19f disable dump_packet
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@59 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 10:53:52 +00:00
Jan Kneschke 6e83b23ec9 parse last-modified timestamp and compare it.
let's hope that strptime() works everywhere


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@58 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 17:26:33 +00:00
Jan Kneschke c3662bebf1 'modification' as ignored and handled as 'access'
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@57 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 17:24:05 +00:00
Jan Kneschke 6bf51546c7 converted all tests to run-tests.pl
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@56 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 17:08:05 +00:00
Jan Kneschke 26b184ba6f this one belongs to the last changeset
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@55 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 10:54:23 +00:00
Jan Kneschke 75fae49e37 * If sizeof(long) == sizeof(off_t), buffer_{append,copy}_off_t()
are only macros to buffer_{append,copy}_long()
* ltostr() returns the string length instead of always 0
* Don't check return value of buffer_prepare_append(buffer *b), since
  it only returns -1 if b == NULL, which we do a few lines above anyway.
* Improved buffer_path_simplify(). No "dot_stack" required anymore.
  Operation can also be performed inplace.
* Check errno also against EACCES at pidfile-unlink for not logging
  a "Permission denied".


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@54 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 10:38:16 +00:00
Jan Kneschke d9fd24a0f7 * Changed AM_CONFIG_HEADER to AC_CONFIG_HEADER. The Manual says:
Older versions of Automake required the use of AM_CONFIG_HEADER;
    this is no longer the case today.


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@53 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 10:36:12 +00:00
Jan Kneschke aa63120540 tolerate \n\n instead of \r\n\r\n and handle overlapping
EOL correctly


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@52 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 09:35:06 +00:00
Jan Kneschke 33550d22ff get pidof working on linux
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@51 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 09:32:05 +00:00
Jan Kneschke 8b248ce3a5 moved SA_LEN macro to http-header-glue.c
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@50 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 09:04:44 +00:00
Jan Kneschke d26f6893d9 moved external functions to *-glue.c
this simplifies the linkage on windows and macosx
which can't reference the binary for symbols


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@49 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 08:42:47 +00:00
Jan Kneschke 6a822b673e Don't use broken http_host pointer for debugging.
This circumvents a crash but is not a final fix
as the reason fo the crash hasn't been found yet.



git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@48 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 08:40:00 +00:00
Jan Kneschke 47ca38938d removed warnings about shadowed variables
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@47 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 08:33:38 +00:00
Jan Kneschke 0cc8a5c56c added ssl.ca-file and updated error-message if private and public key don't match
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@46 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 00:00:55 +00:00
Jan Kneschke 9ce460f051 forget a 's' of the format-string (Bug #31)
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@45 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-27 22:48:12 +00:00
Jan Kneschke 80140bc32d forgot to rename check.pl to run-tests.pl
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@44 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-27 22:13:02 +00:00
Jan Kneschke b8a96670c1 added check for libfcgi to build special test-cases
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@43 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-27 22:10:01 +00:00
Jan Kneschke 9c380cbbde moved most of the tests to run-tests.pl
- more tests
- less code to maintain
- more speed


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@42 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-27 22:01:13 +00:00
Jan Kneschke b6b7b3c698 added note about requirement of server.document-root
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@41 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-23 07:53:33 +00:00
Jan Kneschke a515dd08ad added bzip mimetypes
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@40 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-23 07:48:51 +00:00
Jan Kneschke bc7f12ca71 replace inet_addr() by inet_aton() as the man-page on
linux recommends and as solaris likes for SunForte


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@39 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-22 00:18:04 +00:00
Jan Kneschke 44997909b1 fix segfault in log_error_write if host is empty
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@38 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-22 00:17:11 +00:00
Jan Kneschke 354a554d61 config.h.in is autogenerated
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@37 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-21 20:27:02 +00:00
Jan Kneschke a6d5be451e added autogen.sh submitted by debugger@#lighttpd
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@36 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-21 19:51:33 +00:00
Jan Kneschke 91066a8b60 allow empty cgi.assign handler
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@35 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-20 19:05:55 +00:00
Jan Kneschke 04037134d5 added all changes to ChangeLog and NEWS
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@33 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-20 16:15:41 +00:00
Jan Kneschke a39b52810e added SERVER_ADDR, REMOTE_PORT to mod_fastcgi and mod_cgi and
REQUEST_URI to mod_cgi


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@32 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-20 15:02:57 +00:00
Jan Kneschke 6f6879d4a3 forgot .cvsignore in the move
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@31 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-20 14:28:26 +00:00
Jan Kneschke bcdc6a3bbc moved everything below trunk/ and added branches/ and tags/
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-20 14:27:00 +00:00