neingeist
/
neinomaten
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
neinomaten/http-access2.rb.get_status-...

21 lines
739 B
Diff

--- 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