Commit Graph

8 Commits

Author SHA1 Message Date
Jamis Buck
f69f384872 Refactored dispatch.fcgi. Added unit tests for dispatch.fcgi. Added trap to recognize HUP as a graceful termination command.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-22 11:18:01 +00:00
David Heinemeier Hansson
6c473eb410 Made dispatch.fcgi more robust by catching fluke errors and retrying unless 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
2005-05-04 11:10:13 +00:00
David Heinemeier Hansson
4043b5cdb3 Fixed the dispatch.fcgi use of a logger
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-23 00:54:05 +00:00
David Heinemeier Hansson
c006bae4b8 Added additional error handling to the FastCGI dispatcher to catch even errors taking down the entire process
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 17:46:31 +00:00
David Heinemeier Hansson
5da277b182 Added begin/rescue around the FCGI dispatcher so no uncaught exceptions can 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
2005-03-04 12:12:55 +00:00
David Heinemeier Hansson
912a567252 No longer needed to explicitly pass the session defaults as the error screen was removed
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 12:52:40 +00:00
David Heinemeier Hansson
e7444da160 New error checking removes the necessity for giving a specific error page along to the dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@71 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 15:35:40 +00:00
David Heinemeier Hansson
db045dbbf6 Initial
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-24 01:04:44 +00:00