aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/webrick_server.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that webrick would strip leading newlines and hang connection (closes ↵David Heinemeier Hansson2007-01-051-1/+1
| | | | | | #4156) [psross] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Webrick Daemon dispatching bug regarding a bad current working ↵Rick Olson2006-12-251-1/+3
| | | | | | directory. Closes #4899 [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove Dir.chdir in the Webrick DispatchServlet#initialize method. Fix bad ↵Rick Olson2006-09-021-1/+0
| | | | | | path errors when trying to load config/routes.rb. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove superfluous ABSOLUTE_RAILS_ROOT from webrick serverJeremy Kemper2006-08-291-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New dependencies implementationNicholas Seckar2006-08-081-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove requires from webrick server; they were causing dispatcher.rb to be ↵Nicholas Seckar2006-08-061-4/+1
| | | | | | double loaded. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove the extraneous AR::Base.threaded_connections setting from the webrick ↵Jeremy Kemper2006-02-281-2/+0
| | | | | | server. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that static requests could unlock the mutex guarding dynamic requests ↵David Heinemeier Hansson2006-01-211-6/+6
| | | | | | in the WEBrick servlet (closes #3433) [tom@craz8.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pulled auto-starting browser: More pain than gainDavid Heinemeier Hansson2005-11-121-4/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2987 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added automatic browser launching on OS X when starting script/server [DHH]David Heinemeier Hansson2005-11-091-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation updates/fixes for railtiesJamis Buck2005-10-161-5/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make webrick work with session(:off)Jamis Buck2005-10-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't set the :MimeTypes option if it is nil (causes routing errors on ↵Jamis Buck2005-09-151-5/+6
| | | | | | stylesheets and javascripts, somehow) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -m/--mime-types option to the WEBrick server, so you can specify a ↵David Heinemeier Hansson2005-09-091-3/+7
| | | | | | Apache-style mime.types file to load #2059 [ask@develooper.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -c/--charset option to WEBrick controller, so you can specify a ↵David Heinemeier Hansson2005-09-091-0/+10
| | | | | | default charset (which without changes is UTF-8) #2084 [wejn@box.cz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that each request with the WEBrick adapter would open a new database ↵David Heinemeier Hansson2005-07-101-0/+2
| | | | | | connection #1685 [Sam Stephenson]. Added ActiveRecord::Base.threaded_connections flag to turn off 1-connection per thread (required for thread safety). By default it's on, but WEBrick in Rails need it off #1685 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionController::Base.allow_concurrency to control whether the ↵David Heinemeier Hansson2005-06-231-2/+2
| | | | | | application is thread-safe, so multi-threaded servers like WEBrick knows whether to apply a mutex around the performance of each action. Action Pack and Active Record are by default thread-safe, but many applications may not be. Turned off by default. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1487 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed new WEBrick handling to actually pass parametersDavid Heinemeier Hansson2005-06-221-14/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the mutex from the WEBrick adapter under the production environment ↵David Heinemeier Hansson2005-06-221-31/+65
| | | | | | so concurrent requests can be served git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Webrick to escape + characters in URL's the same way that lighttpd and ↵David Heinemeier Hansson2005-06-161-12/+10
| | | | | | apache do #1397 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete ↵David Heinemeier Hansson2005-04-181-4/+2
| | | | | | coverage of REST functionality #1136 [joshknowles@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed SCRIPT_NAME from the WEBrick environment to prevent conflicts with ↵David Heinemeier Hansson2005-03-221-0/+1
| | | | | | PATH_INFO #896 [Nicholas Seckar] Removed ? from the dispatch.f/cgi redirect line to get rid of 'complete/path/from/request.html' => nil being in the @params now that the ENV[REQUEST_URI] is used to determine the path #895 [dblack/Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed webrick_server cookie handling to allow multiple cookes to be set at ↵David Heinemeier Hansson2005-03-201-0/+1
| | | | | | once #800, #813 [dave@cherryville.org] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed WEBrick server to use ABSOLUTE_RAILS_ROOT instead of working_directory ↵David Heinemeier Hansson2005-03-061-1/+2
| | | | | | #687 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Drop the _doc nonsense and use the index.html straight onDavid Heinemeier Hansson2005-02-241-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that script/server -d was broken so daemon mode couldn't be used #687 ↵David Heinemeier Hansson2005-02-201-0/+1
| | | | | | [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made caching work for WEBrick and lighttpd by appending .html for all URLs ↵David Heinemeier Hansson2005-02-201-0/+13
| | | | | | not already containing a dot git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A hopefully more successful attempt at the Routing branch mergeDavid Heinemeier Hansson2005-02-151-67/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed Fancy Indexing as a default option on the WEBrick servlet as it made ↵David Heinemeier Hansson2005-01-041-1/+1
| | | | | | it harder to use various caching schemes git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only requests that require processing from a controller should block the ↵David Heinemeier Hansson2004-12-161-3/+2
| | | | | | webrick server -- requests for stylesheets, images, and the like should be concurrent git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* This patch allows urls to be of the form :module/:controller/:action as well ↵David Heinemeier Hansson2004-12-141-1/+10
| | | | | | as :controller/:action/:id where :id is no entirely numeric by determining if what would be :module corresponds to a directory in app/controllers. If it does not then the :controller/:action/:id scheme is used. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a pattern for module loadingDavid Heinemeier Hansson2004-12-121-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pattern for specific actions in a modularized controllerDavid Heinemeier Hansson2004-12-121-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved require_association to associations.rb and added methods for resetting ↵David Heinemeier Hansson2004-12-121-11/+14
| | | | | | the inheritable attributes on subclasses git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added preliminary remote breakpoint supportDavid Heinemeier Hansson2004-12-091-18/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@102 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
* InitialDavid Heinemeier Hansson2004-11-241-0/+159
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de