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
|
@ -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>
|
Sat Aug 21 06:41:16 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ext/tcltklib/extconf.rb (find_tcl, find_tk): find stub library.
|
* ext/tcltklib/extconf.rb (find_tcl, find_tk): find stub library.
|
||||||
|
|
|
@ -206,6 +206,9 @@ module WEBrick
|
||||||
res.set_error(ex)
|
res.set_error(ex)
|
||||||
raise HTTPStatus::EOFError
|
raise HTTPStatus::EOFError
|
||||||
ensure
|
ensure
|
||||||
|
if handler = @config[:ProxyContentHandler]
|
||||||
|
handler.call(req, res)
|
||||||
|
end
|
||||||
res.send_response(ua)
|
res.send_response(ua)
|
||||||
access_log(@config, req, res)
|
access_log(@config, req, res)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue