aboutsummaryrefslogtreecommitdiffstats
path: root/railties/dispatches/dispatch.fcgi
Commit message (Collapse)AuthorAgeFilesLines
* r1588@asus: jeremy | 2005-07-02 03:14:45 -0700Jeremy Kemper2005-07-021-1/+19
| | | | | | | Optional periodic garbage collection for dispatch.fcgi. Graceful exit on TERM also (a la Apache1). Ignore signals the platform does not support, such as USR1 on Windows. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use SIGHUP to dynamically reload an fcgi process without restarting it. ↵Jamis Buck2005-06-291-95/+3
| | | | | | Refactored dispatch.fcgi so that the RailsFCGIHandler is in the lib dir. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Had some logic backwards in the new dispatch.fcgi handlerJamis Buck2005-06-271-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* RailsFCGIHandler (dispatch.fcgi) no longer tries to explicitly flush $stdout ↵Jamis Buck2005-06-271-1/+0
| | | | | | (CgiProcess#out always calls flush) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing parameter for trap_handler in dispatch.fcgiJamis Buck2005-06-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored dispatch.fcgi. Added unit tests for dispatch.fcgi. Added trap to ↵Jamis Buck2005-06-221-53/+83
| | | | | | recognize HUP as a graceful termination command. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made dispatch.fcgi more robust by catching fluke errors and retrying unless ↵David Heinemeier Hansson2005-05-041-6/+48
| | | | | | its a permanent condition. [Jamis Buck] Allow graceful exits for dispatch.fcgi processes by sending a SIGUSR1. If the process is currently handling a request, the request will be allowed to complete and then will terminate itself. If a request is not being handled, the process is terminated immediately (via #exit). This basically works like restart graceful on Apache. [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1284 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the dispatch.fcgi use of a loggerDavid Heinemeier Hansson2005-03-231-8/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added additional error handling to the FastCGI dispatcher to catch even ↵David Heinemeier Hansson2005-03-211-12/+18
| | | | | | errors taking down the entire process git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added begin/rescue around the FCGI dispatcher so no uncaught exceptions can ↵David Heinemeier Hansson2005-03-041-1/+14
| | | | | | bubble up to kill the process (logs to log/fastcgi.crash.log) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* No longer needed to explicitly pass the session defaults as the error screen ↵David Heinemeier Hansson2004-12-121-1/+1
| | | | | | was removed git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New error checking removes the necessity for giving a specific error page ↵David Heinemeier Hansson2004-12-071-1/+1
| | | | | | along to the dispatcher git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@71 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-241-0/+7
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de