Actions
Bug #7275
closednet/http wrong status line: "\x00HTTP/1.1 200 OK"
Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]
Backport:
Description
- install proxychains
- proxychains irb
ProxyChains-3.1 (http://proxychains.sf.net)
1.9.3p194 :001 > require "net/http"
=> true
1.9.3p194 :002 > res = Net::HTTP.start("www.google.com", "80") do |http|
1.9.3p194 :003 > http.request Net::HTTP::Get.new("/")
1.9.3p194 :004?> end
|S-chain|-<>-112.83.231.254:6666-<><>-74.125.232.49:80-<><>-OK
Net::HTTPBadResponse: wrong status line: "\x00HTTP/1.1 302 Found"
from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2564:inread_status_line' from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2551:in
read_new'
from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1319:inblock in transport_request' from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1316:in
catch'
from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1316:intransport_request' from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:1293:in
request'
from (irb):3:inblock in irb_binding' from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:745:in
start'
from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:557:instart' from (irb):2 from /home/puchuu/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in
'
Updated by shyouhei (Shyouhei Urabe) about 12 years ago
- Status changed from Open to Third Party's Issue
Can't reproduce without proxychain.
I believe this is a proxychain issue, or at least you are using it in wrong way.
Please consult proxychain's docs or issue tracker or whatever.
Actions
Like0
Like0