Commit Graph

127 Commits (d601017b750646cb9aa247b69e399bc1570d3a74)

Author SHA1 Message Date
Elan Ruusamäe 95769fb3f6 - Print error if X-LIGHTTPD-send-file cannot be done; reset header Content-Length for send-file.
15 years ago
Elan Ruusamäe bdd2fce478 - fixed a bug that made /-prefixed fcgi extensions being handled also when matching the end of the uri (#1489)
15 years ago
Marcus Rückert 7ce73896b7 - handle errors from the fcgi packet construction and return 400 if we have an error.
16 years ago
Jan Kneschke eaed2f1e50 added some extra protection to make sure key-len and val-len don't
16 years ago
Jan Kneschke 34b3ee0228 fixed FastCGI header overrun in mod_fastcgi
16 years ago
Jan Kneschke 51826fc05c renamed ltostr() to LI_ltostr() to fix compile on HP/UX (fixes #465)
16 years ago
Jan Kneschke c4e3150283 fixed possible overflow in unix-socket path checks on BSD (#713)
16 years ago
Jan Kneschke 8f9f532083 * fixed crash on 32bit archs when debug-msgs are printed in mod_scgi,
16 years ago
Marcus Rückert abdd1f5b45 - do not check stale values on errno. EAGAIN is handled inside the
16 years ago
Elan Ruusamäe 733e565a50 - spelling fixes by Ryan Schmidt (patch from mailinglist)
16 years ago
Jan Kneschke 66496a27d9 fixed for non c99 compilers
16 years ago
Marcus Rückert 64877138f6 - added "kill-signal" as setting for fastcgi blocks. applications
16 years ago
Marcus Rückert 275af90577 - set AUTH_TYPE environment variable for fastcgi requests (#889)
16 years ago
Marcus Rückert 3c40b52929 - send SIGUSR1 to fastcgi apps before SIGTERM
16 years ago
Jan Kneschke 5db109e16d cleanup whenever we have a data-struct on this connection
16 years ago
Elan Ruusamäe 40e8d326d1 - unify style
16 years ago
Marcus Rückert acd992cbf1 - applied patch from colin.stephen@o2.com (#1041)
16 years ago
Elan Ruusamäe 1c662e07ba - ignore empty packets from STDERR stream. fixes #998
16 years ago
Robert Jakabosky db76b98e03 Added round-robin support to mod_fastcgi.
16 years ago
Marcus Rückert 8cd1471cb3 - white space cleanup part 2 this time 1.4 ;)
17 years ago
Marcus Rückert 56de5af1cd - properly find fastcgi.h in /usr/include/fastcgi
17 years ago
Jan Kneschke c7b9858b03 added support for lighty.status[] in mod_magnet
17 years ago
Jan Kneschke 7ef30c4dfe don't forget the waitpid() for locally spawned processes (patch by Cameron Ring)
17 years ago
Jan Kneschke 55bfb4737d removed complex proc-load-balancing code and simplified it
17 years ago
Jan Kneschke a1eb4c307f big cleanup of error-handling
17 years ago
Jan Kneschke 9d3c1b09de fixed calculation of unix-socket path length if SUN_LEN is not defined (fixes #553)
17 years ago
Jan Kneschke 0525ed2816 fixed calculation of socket-len if SUN_LEN is not defined
17 years ago
Jan Kneschke 7e861ea32e - decrement proc-load if we really incremented it
17 years ago
Jan Kneschke d7339a70b9 mod_cgi is resetting physical.path *grr*
17 years ago
Jan Kneschke 06d111d8aa distribute connect-storms properly over the available hosts
17 years ago
Jan Kneschke 9ec477a374 - fixed load-balancing (#480)
17 years ago
Jan Kneschke de3bdbf1a2 fixed crash cause by missing comma (patch from <bobby@alphatrade.com>)
17 years ago
Jan Kneschke e41496fba7 fixed error-msg
17 years ago
Jan Kneschke ebb0efb457 oops, split the path on the final path to the binary itself
17 years ago
Jan Kneschke 8cf82a44a1 fixed wording in error-msgs
17 years ago
Jan Kneschke 4a86d31562 chdir to the bin-path dir before exec()ing the to-be-spawned fastcgi backend
17 years ago
Jan Kneschke ea57fa1747 ok, rel_path is not updated by mod_indexfile or the pathinfo handling
17 years ago
Jan Kneschke 415e215746 use physical.rel_path instead url.path to handle case-insensitive file-systems in the right way
17 years ago
Jan Kneschke abe6d62a02 don't strip numbers from the starting env (fixed #438)
17 years ago
Jan Kneschke bc95f8024a added statistics to the fastcgi module and a simple text/plain reporter to mod_status
17 years ago
Jan Kneschke ab8493f603 print usefull information if the backend crashes for some reason
17 years ago
Jan Kneschke b789ce87a1 remove zombies again
17 years ago
Jan Kneschke b85fb3b41d fix logfile spamming on conn-refused and friends
17 years ago
Jan Kneschke a4be52451f more unsigned/sign compare fixes
18 years ago
Jan Kneschke 32879e3663 fixed stripping if strip and input are the same
18 years ago
Jan Kneschke 57b7676542 fixed reconnect after dead php-backend
18 years ago
Jan Kneschke 485fea2cbb improved hints if startup fails
18 years ago
Jan Kneschke e290b119db added startup-time selectable network-backend
18 years ago
Jan Kneschke c76035f592 fixed preparation of the content if we have to get the content from 2 network packets
18 years ago
Jan Kneschke 5cafff4776 print bin-path if a fastcgi-binary exits at spawning time and us %lld for long long int
18 years ago
Jan Kneschke 1c09f28447 removed con->request.content (mem-buffer) by a chunk-queue
18 years ago
Jan Kneschke 119c0da37c the last header line is parsed again and X-LIGHTTPD-send-file was added.
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)
18 years ago
Jan Kneschke 38b8743af3 - don't keep the full fastcgi response in memory
18 years ago
Jan Kneschke 0f9a82bd0e only enable fastcgi if necessary
18 years ago
Jan Kneschke f350d3253a replaced /bin/sh exec by a simple cmdline parser (fixed #133)
18 years ago
Jan Kneschke 1b4b0b313a tell the user to use the right PHP build for FastCGI
18 years ago
Jan Kneschke c92984c270 fixed error-msg for EAGAIN in connect()
18 years ago
Jan Kneschke cd4c324ff2 allow numbers in header-keys
18 years ago
Jan Kneschke c8408d015c removed setup_connection (merged [295])
18 years ago
Jan Kneschke 5e134da075 dropped file-cache, added stat-cache and modules ALWAYS cleanup at connection-end
18 years ago
Jan Kneschke c5502e66eb added support to have a PATH_INFO on /prefix if check-local is disabled
18 years ago
Jan Kneschke 7126a0f2bc detect endless loops and kill them
18 years ago
Jan Kneschke 39b12c5fc6 be a bit more verbose for log-request-handling
18 years ago
Jan Kneschke e6a090656f disable adaptive spawning for now
18 years ago
Jan Kneschke b527f569af added more debug info and fix hang after a local fcgi process has died
18 years ago
Jan Kneschke e7def825a8 remove FDEVENT_OUT as soon as we hit _READ and only call joblist_append() if really needed
18 years ago
Jan Kneschke be5bb63b00 merged [166]
18 years ago
Jan Kneschke 85194f365f fixed pathinfo handling on /fcgi_pattern
18 years ago
Jan Kneschke bde657648d compile fixes for MIPSpro on IRIX
18 years ago
Jan Kneschke 7725e92ff6 rewrote the event and error handling with the help of the fcgi-responder.c from the tests.
18 years ago
Jan Kneschke 2420fd96d2 added checks for the line-terminator handling and cleanup the configs
18 years ago
Jan Kneschke aa63120540 tolerate \n\n instead of \r\n\r\n and handle overlapping
18 years ago
Jan Kneschke 9ce460f051 forget a 's' of the format-string (Bug #31)
18 years ago
Jan Kneschke bc7f12ca71 replace inet_addr() by inet_aton() as the man-page on
18 years ago
Jan Kneschke a39b52810e added SERVER_ADDR, REMOTE_PORT to mod_fastcgi and mod_cgi and
18 years ago
Jan Kneschke bcdc6a3bbc moved everything below trunk/ and added branches/ and tags/
18 years ago