From 50e54db5b78eeb3378587842fb1b0f3c6b083aa3 Mon Sep 17 00:00:00 2001 From: neingeist Date: Tue, 25 Oct 2005 22:05:56 +0000 Subject: [PATCH] =?UTF-8?q?workaround=20f=C3=BCr=20diese=20b0rken=20scheis?= =?UTF-8?q?se?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ss2.rb.get_status-breakage-workaround.diff | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 http-access2.rb.get_status-breakage-workaround.diff diff --git a/http-access2.rb.get_status-breakage-workaround.diff b/http-access2.rb.get_status-breakage-workaround.diff new file mode 100644 index 0000000..7bf4a7f --- /dev/null +++ b/http-access2.rb.get_status-breakage-workaround.diff @@ -0,0 +1,20 @@ +--- http-access2.rb.orig 2005-10-05 21:55:04.000000000 +0200 ++++ http-access2.rb 2005-10-25 23:56:23.000000000 +0200 +@@ -439,7 +439,7 @@ + block.call(str) if block + content << str + end +- @session_manager.keep(sess) unless sess.closed? ++ #FIXME @session_manager.keep(sess) unless sess.closed? + end + + def do_get_stream(req, proxy, conn) +@@ -1249,7 +1249,7 @@ + version = status = reason = nil + begin + if @state != :META +- raise RuntimeError.new("get_status must be called at the beginning of a session.") ++ raise RuntimeError.new("get_status must be called at the beginning of a session. @state = #{@state}") + end + version, status, reason = read_header() + rescue