* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect):

should call :ProxyContentHandler before finishing CONNECT.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
gotoyuzo 2004-08-21 16:16:18 +00:00
parent e5602e48dc
commit 0263ace6fb
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Sun Aug 22 01:10:36 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect):
should call :ProxyContentHandler before finishing CONNECT.
Sat Aug 21 06:41:16 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/tcltklib/extconf.rb (find_tcl, find_tk): find stub library.

View File

@ -206,6 +206,9 @@ module WEBrick
res.set_error(ex)
raise HTTPStatus::EOFError
ensure
if handler = @config[:ProxyContentHandler]
handler.call(req, res)
end
res.send_response(ua)
access_log(@config, req, res)
end