[前][次][番号順一覧][スレッド一覧]

ruby-changes:27580

From: zzak <ko1@a...>
Date: Fri, 8 Mar 2013 10:49:27 +0900 (JST)
Subject: [ruby-changes:27580] zzak:r39632 (trunk): * lib/webrick/httpproxy.rb: Fix typos in HTTPProxyServer [Bug #8013]

zzak	2013-03-08 10:46:59 +0900 (Fri, 08 Mar 2013)

  New Revision: 39632

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39632

  Log:
    * lib/webrick/httpproxy.rb: Fix typos in HTTPProxyServer [Bug #8013]
      Patch by Nobuhiro IMAI [ruby-core:53127]

  Modified files:
    trunk/ChangeLog
    trunk/lib/webrick/httpproxy.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39631)
+++ ChangeLog	(revision 39632)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Mar  8 10:44:00 2013  Zachary Scott  <zachary@z...>
+
+	* lib/webrick/httpproxy.rb: Fix typos in HTTPProxyServer [Bug #8013]
+	  Patch by Nobuhiro IMAI [ruby-core:53127]
+
 Fri Mar  8 03:16:15 2013  Marc-Andre Lafortune  <ruby-core@m...>
 
 	* class.c (rb_mod_ancestors): Include singleton_class in ancestors
Index: lib/webrick/httpproxy.rb
===================================================================
--- lib/webrick/httpproxy.rb	(revision 39631)
+++ lib/webrick/httpproxy.rb	(revision 39632)
@@ -46,10 +46,10 @@ module WEBrick https://github.com/ruby/ruby/blob/trunk/lib/webrick/httpproxy.rb#L46
   #
   #   proxy = WEBrick::HTTPProxyServer.new Port: 8000
   #
-  #   trap 'INT'  do p.shutdown end
-  #   trap 'TERM' do p.shutdown end
+  #   trap 'INT'  do proxy.shutdown end
+  #   trap 'TERM' do proxy.shutdown end
   #
-  #   p.start
+  #   proxy.start
   #
   # See ::new for proxy-specific configuration items.
   #
@@ -186,7 +186,7 @@ module WEBrick https://github.com/ruby/ruby/blob/trunk/lib/webrick/httpproxy.rb#L186
         res.send_response(ua)
         access_log(@config, req, res)
 
-        # Should clear request-line not to send the sesponse twice.
+        # Should clear request-line not to send the response twice.
         # see: HTTPServer#run
         req.parse(NullReader) rescue nil
       end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]