Hi, I''ve been using send_file in my Rails application with WEBrick happily to send files of various sizes and kinds. The same code fails to send anything but a 500 error when run under Apache, and a log file message "warning: syswrite for buffered IO". Looking back through the mailing list archives I see that there have been send_file bugs in the past. Can some knowledgeable person tell me if these problems are still unfixed for Rails application using Apache? Cheers, Stu
Stuart, Did you get this resolved at all? It looks like I''m hitting the same issue. Cheers, Nicholas On 12/12/05, Stuart Hungerford <stuart.hungerford@anu.edu.au> wrote:> Hi, > > I''ve been using send_file in my Rails application with > WEBrick happily to send files of various sizes and > kinds. > > The same code fails to send anything but a 500 error > when run under Apache, and a log file message > "warning: syswrite for buffered IO". > > Looking back through the mailing list archives I see that > there have been send_file bugs in the past. Can some > knowledgeable person tell me if these problems are > still unfixed for Rails application using Apache? > > Cheers, > > Stu > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Stuart Hungerford wrote:> Hi, > > I''ve been using send_file in my Rails application with > WEBrick happily to send files of various sizes and > kinds. > The same code fails to send anything but a 500 error > when run under Apache, and a log file message > "warning: syswrite for buffered IO".Has anybody discovered a solution for this exact bug? I really need the send_file Best regards, Daniel -- Posted via http://www.ruby-forum.com/.