about summary refs log tree commit homepage
path: root/lib/mongrel.rb
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-05-20 21:21:29 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-05-20 21:21:29 +0000
commit4aa7050dd281caf5f118cf29eeedf2cec3aab079 (patch)
treea717f0a7093f984bd4a6f69eeae66adbe90efb63 /lib/mongrel.rb
parent028417a18fc2921d07ba13a4c3674606945787f5 (diff)
downloadunicorn-4aa7050dd281caf5f118cf29eeedf2cec3aab079.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@198 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'lib/mongrel.rb')
-rw-r--r--lib/mongrel.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mongrel.rb b/lib/mongrel.rb
index d3ea2ad..780f9bd 100644
--- a/lib/mongrel.rb
+++ b/lib/mongrel.rb
@@ -104,7 +104,7 @@ module Mongrel
     # This is the part of the path after the SCRIPT_NAME.  URIClassifier will determine this.
     PATH_INFO="PATH_INFO".freeze
 
-    # This is the intial part that your handler is identified as by URIClassifier.
+    # This is the initial part that your handler is identified as by URIClassifier.
     SCRIPT_NAME="SCRIPT_NAME".freeze
 
     # The original URI requested by the client.  Passed to URIClassifier to build PATH_INFO and SCRIPT_NAME.
@@ -419,7 +419,7 @@ module Mongrel
   # You use it by doing the following:
   #
   #   server = HttpServer.new("0.0.0.0", 3000)
-  #   server.register("/stuff", MyNifterHandler.new)
+  #   server.register("/stuff", MyNiftyHandler.new)
   #   server.run.join
   #
   # The last line can be just server.run if you don't want to join the thread used.
@@ -491,7 +491,7 @@ module Mongrel
               params[Const::SCRIPT_NAME] = script_name
               params[Const::REMOTE_ADDR] = params[Const::HTTP_X_FORWARDED_FOR] || client.peeraddr.last
 
-              # TODO: Find a faster/better way to carve out the range, preferrably without copying.
+              # TODO: Find a faster/better way to carve out the range, preferably without copying.
               request = HttpRequest.new(params, data[nparsed ... data.length] || "", client)
 
               # in the case of large file uploads the user could close the socket, so skip those requests