aboutsummaryrefslogtreecommitdiffstats
path: root/railties/dispatches
Commit message (Collapse)AuthorAgeFilesLines
* Use "/usr/bin/env ruby" instead of "/usr/local/bin/ruby"Tarmo Tänav2008-07-313-5/+5
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ruby 1.9 compatibility. References #1689.Jeremy Kemper2007-12-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added fixed gateway script [Nicholas Seckar]David Heinemeier Hansson2005-07-061-37/+76
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made gateway.cgi work with a ruby called anythingDavid Heinemeier Hansson2005-07-041-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an EXPERIMENTAL gateway.cgi for getting high-speed performance through ↵David Heinemeier Hansson2005-07-041-0/+57
| | | | | | vanilla CGI using a long-running, DRb-backed server in the background (using script/listener and script/tracker) #1603 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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
* Fixed WEBrick servlet slowdown over time by restricting the load path ↵David Heinemeier Hansson2005-01-061-1/+1
| | | | | | reloading to mod_ruby #372 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed public/dispatch.servlet to script/server -- it wasn't really ↵David Heinemeier Hansson2004-12-161-49/+0
| | | | | | dispatching anyway as its delegating calls to public/dispatch.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@186 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
* Make the dispatch.rb behave after being run by the WEBrick dispatcherDavid Heinemeier Hansson2004-12-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@64 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Syntax errors and other exceptions thrown outside of an action are now ↵David Heinemeier Hansson2004-12-061-1/+0
| | | | | | gracefully handled by the dispatcher git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@51 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* AbstractApplicationController and the individual controllers are now ↵David Heinemeier Hansson2004-11-301-1/+1
| | | | | | completely reloaded on each request if "reload_dependencies" is set to true. This makes it possible to REMOVE methods and constants and have the changes reflected. Beaware that this is still not possible for models, though. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@31 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-244-0/+67
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de