mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
e5602e48dc
commit
0263ace6fb
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue