[#10793] 今度こそ (patch of the ruby-1.4.6 for NT4.0&VC4.0 on DEC Alpha.) — kou@...1609.sip.eee.yamaguchi-u.ac.jp (Koichi Okada)

岡田です。

10 messages 2000/09/01

[#10920] SIGINT on windows — "Nobuyoshi.Nakada" <nobu.nakada@...>

なかだです。

17 messages 2000/09/14
[#11077] Re: SIGINT on windows — matz@... (Yukihiro Matsumoto) 2000/09/27

まつもと ゆきひろです

[#10944] dummy DLL on Windows — "Nobuyoshi.Nakada" <nobu.nakada@...>

なかだです。

19 messages 2000/09/18
[#10955] Re: dummy DLL on Windows — WATANABE Hirofumi <eban@...> 2000/09/19

わたなべです.

[#10963] Re: dummy DLL on Windows — "Nobuyoshi.Nakada" <nobu.nakada@...> 2000/09/19

なかだです。

[#10964] Re: dummy DLL on Windows — WATANABE Hirofumi <eban@...> 2000/09/19

わたなべです.

[#10978] [PATCH] require in require — "Nobuyoshi.Nakada" <nobu.nakada@...>

なかだです。

15 messages 2000/09/20

[#10985] httphead.rb proxy version problem — Katsuyuki Komatsu <komatsu@...>

小松です.

16 messages 2000/09/20
[#10989] Re: httphead.rb proxy version problem — Minero Aoki <aamine@...> 2000/09/20

あおきです。

[ruby-dev:10990] Re: httphead.rb proxy version problem

From: Minero Aoki <aamine@...>
Date: 2000-09-20 21:29:08 UTC
List: ruby-dev #10990
あおきです。

お手数ですが、もしまたおかしかった場合、以下のパッチを追加して
実行した時のデバッグ出力を見せていただけませんか?
-------------------------------------------------------------------
あおきみねろう

--- org.http.rb	Thu Sep 21 06:26:21 2000
+++ http.rb	Thu Sep 21 06:26:47 2000
@@ -238,6 +238,7 @@
 
 require 'net/protocol'
 
+$stderr.sync = true
 
 module Net
 
@@ -392,21 +393,26 @@
     def keep_alive?( header, resp )
       if resp.key? 'connection' then
         if /keep-alive/i === resp['connection'] then
+$stderr.puts '[C] Connection true'
           return true
         end
       elsif resp.key? 'proxy-connection' then
         if /keep-alive/i === resp['proxy-connection'] then
+$stderr.puts '[C] Proxy Connection true'
           return true
         end
       elsif header.key? 'Connection' then
         if /keep-alive/i === header['Connection'] then
+$stderr.puts '[C] user Connection true'
           return true
         end
       else
         if @command.http_version == '1.1' then
+$stderr.puts '[C] HTTP1.1 true'
           return true
         end
       end
+$stderr.puts '[C] connection close'
 
       false
     end
@@ -432,8 +438,11 @@
 
     # called when connecting
     def do_finish
+$stderr.puts "[F] addr=#{address} port=#{port}"
+$stderr.puts "[F] closed=#{@socket.closed?}"
+$stderr.puts "[F] critical=#{@command.send :critical?}"
       unless @socket.closed? then
-        head2 '/', { 'Connection' => 'close' }
+#        head2 '/', { 'Connection' => 'close' }
       end
     end
 
 

In This Thread