diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-08 01:46:59 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-08 01:46:59 +0000 |
commit | 9c1fbec8737071580935bdeffb2c53d1a9a0c984 (patch) | |
tree | 3119a98bb8560dca5c6bb6dfb2a84725368d657d | |
parent | 0003ac99cccf0a91df49f9a1141b175e0f80051c (diff) | |
download | ruby-9c1fbec8737071580935bdeffb2c53d1a9a0c984.tar.gz |
* lib/webrick/httpproxy.rb: Fix typos in HTTPProxyServer [Bug #8013]
Patch by Nobuhiro IMAI [ruby-core:53127]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/webrick/httpproxy.rb | 8 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +Fri Mar 8 10:44:00 2013 Zachary Scott <zachary@zacharyscott.net> + + * 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@marc-andre.ca> * class.c (rb_mod_ancestors): Include singleton_class in ancestors diff --git a/lib/webrick/httpproxy.rb b/lib/webrick/httpproxy.rb index 3ad573d5d9..7c34d33df0 100644 --- a/lib/webrick/httpproxy.rb +++ b/lib/webrick/httpproxy.rb @@ -46,10 +46,10 @@ module WEBrick # # 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 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 |