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.
25 lines
667 B
Diff
25 lines
667 B
Diff
--- http-access2.rb.orig 2005-10-05 21:55:04.000000000 +0200
|
|
+++ http-access2.rb 2005-10-05 22:49:05.000000000 +0200
|
|
@@ -1464,6 +1464,14 @@
|
|
timeout(@receive_timeout) do
|
|
begin
|
|
initial_line = socket.gets("\n")
|
|
+ if initial_line == "0\r\n"
|
|
+ # Regetting initial_line
|
|
+ initial_line = socket.gets("\n")
|
|
+ if initial_line == "\r\n"
|
|
+ # Regetting initial_line, again
|
|
+ initial_line = socket.gets("\n")
|
|
+ end
|
|
+ end
|
|
if initial_line.nil?
|
|
raise KeepAliveDisconnected.new
|
|
end
|
|
@@ -1586,3 +1594,5 @@
|
|
|
|
|
|
HTTPClient = HTTPAccess2::Client
|
|
+
|
|
+# vim:tabstop=8
|
|
|