Forum: Ruby on Rails send_file bug

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
940c8909c049853bff20a3a15e61b1f2?d=identicon&s=25 Jean-Marc Delafont (Guest)
on 2006-03-03 21:39
(Received via mailing list)
I had a problem with the send_file method.
 I saw that some of you had the same problem but with no real
solution/explanation

 first problem the :stream options, and not 'streaming' as I see in some
doc or book.

 the second problem : when you set :stream to true, there's a use of
syswrite that should not be. I detailed this in response to a ticket
opened by stuart hungerford :

 http://dev.rubyonrails.org/ticket/3302

 I would like to have your opinions on a better solution or a real
solution.

 thanks

 Jean-Marc Delafont
This topic is locked and can not be replied to.