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