In mail "[ruby-talk:19025] 1.6/net errors (stack, igneof)"
Tobias Reif <tobiasreif / pinkjuice.com> wrote:

> I'm downloading files from the web using Net::HTTP.
> Sometimes, after the program ran for a while, I get
> 
> system stack error

hmmm, I haven't saw this message on using ruby.
Windows specific...?


> [...]1.6/net/protocol.rb:583: in 'read': undefined local variable or
> method 'igneof' [...] (NameError)

This error is modified in 1.6.4.
Try this patch.

Index: protocol.rb
===================================================================
RCS file: /home/aamine/cvs/net/protocol.rb,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- protocol.rb	3 Jul 2001 19:06:22 -0000	1.24
+++ protocol.rb	8 Jul 2001 05:52:08 -0000	1.25
@@ -515,7 +515,7 @@
 
     CRLF = "\r\n"
 
-    def read( len, dest = '', ignerr = false )
+    def read( len, dest = '', igneof = false )
       D_off "reading #{len} bytes..."
 
       rsize = 0


Minero Aoki