Seems that the read method on the RackRewindableInput class returns an
empty string at the end of input, as opposed to a nil object like other
IO-ish objects do. Is this by design or a bug?
I’ve got an app that started hanging after updating jruby+rack+rails
that was doing a b = request.body; while(x=b.read(1024)) to read the
body of the request in chunks, because read always returns a string.
Have changed my code to while(!(x=b.read(1024).blank?)).
Dan.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email