Commit Graph

78 Commits (f7dab695cc4f1415ad3728e0bae3ad37159ed1c4)

Author SHA1 Message Date
Jan Kneschke 5cafff4776 print bin-path if a fastcgi-binary exits at spawning time and us %lld for long long int
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@746 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 1c09f28447 removed con->request.content (mem-buffer) by a chunk-queue
which can buffer to tempfiles of the content is to large


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@741 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 119c0da37c the last header line is parsed again and X-LIGHTTPD-send-file was added.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@706 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 63dceeb0c6 open files only once for chunk, cache mmap and let the chunk itself close the fd (fixed #261, #257)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@703 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 38b8743af3 - don't keep the full fastcgi response in memory
- don't cache more than 4 chunks in a queue for reuse
- on chunkqueue_reset, clean the chunks


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@696 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 0f9a82bd0e only enable fastcgi if necessary
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@690 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
Jan Kneschke 1b4b0b313a tell the user to use the right PHP build for FastCGI
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@565 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke c92984c270 fixed error-msg for EAGAIN in connect()
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@540 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke cd4c324ff2 allow numbers in header-keys
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@523 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke c8408d015c removed setup_connection (merged [295])
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@512 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 5e134da075 dropped file-cache, added stat-cache and modules ALWAYS cleanup at connection-end
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@502 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke c5502e66eb added support to have a PATH_INFO on /prefix if check-local is disabled
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@477 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 7126a0f2bc detect endless loops and kill them
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@470 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 39b12c5fc6 be a bit more verbose for log-request-handling
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@439 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke e6a090656f disable adaptive spawning for now
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@380 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke b527f569af added more debug info and fix hang after a local fcgi process has died
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@364 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke e7def825a8 remove FDEVENT_OUT as soon as we hit _READ and only call joblist_append() if really needed
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@343 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke be5bb63b00 merged [166]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@318 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
19 years ago
Jan Kneschke bde657648d compile fixes for MIPSpro on IRIX
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@68 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago