Y
Yangsu Kim
I installed ruby 1.8.6 for Windows(Vista Home Premium).
And wrote some code like below.
-----------
require 'webrick'
require 'webrick/httpproxy'
s = WEBrick::HTTPProxyServer.new(
:BindAddress => '0.0.0.0',
ort => 8080,
:Logger => WEBrick::Log::new($stderr, WEBrick::Log:EBUG),
)
s.start
-----------
In local computer, there is no problem.
But in remote compute including same domain, it took too much
seconds(about 6 to 10) to read one page or file.
I installed 1.9.0, but It still took.
At the end, I installed VMWare with Windows XP.
And I installed Ruby 1.8.6 in Windows XP in VMWare.
After making port forwarding, I accessed guest os proxy server from host
os.
It still took too many seconds.
I couldnot find "what is wrong". Could you give me some solutions?
And wrote some code like below.
-----------
require 'webrick'
require 'webrick/httpproxy'
s = WEBrick::HTTPProxyServer.new(
:BindAddress => '0.0.0.0',
ort => 8080,
:Logger => WEBrick::Log::new($stderr, WEBrick::Log:EBUG),
)
s.start
-----------
In local computer, there is no problem.
But in remote compute including same domain, it took too much
seconds(about 6 to 10) to read one page or file.
I installed 1.9.0, but It still took.
At the end, I installed VMWare with Windows XP.
And I installed Ruby 1.8.6 in Windows XP in VMWare.
After making port forwarding, I accessed guest os proxy server from host
os.
It still took too many seconds.
I couldnot find "what is wrong". Could you give me some solutions?