search for: streamscontroller

Displaying 2 results from an estimated 2 matches for "streamscontroller".

2010 Sep 22
20
problem in downloading large file with apache+mongrel
...in apache ,am looking for 1 GB of download .this is download routine def download @stream = Stream.find(params[:id]) send_file(@stream.location,:filename => @stream.name,:disposition > ''attachment'',:x_sendfile => true ) and And this is how it is processed Processing StreamsController#download (for 127.0.0.1 at 2010-09-22 12:32:10) [GET] Parameters: {"id"=>"6596"} <-[4;36;1mSQL (0.0ms)?[0m ?[0;1mSET NAMES ''utf8''?[0m <-[4;35;1mSQL (0.0ms)?[0m ?[0mSET SQL_AUTO_IS_NULL=0?[0m <-[4;36;1mStream Columns (15.0ms)?[0m ?[0;1mSHOW FIELDS...
2010 Sep 27
0
problem when downloading files with xsendfile
...ile.size(filename) render :nothing => true end Problem is my rails application still handling this request but i would like apache to handle this request ,can anyone tell me how i configure apche to handle this request?? Actully when i downloding files,mongrel rendering things, Processing StreamsController#download (for 127.0.0.1 at 2010-09-27 16:50:47) [GET] Parameters: {"id"=>"6655"} ?[4;36;1mSQL (0.0ms)?[0m ?[0;1mSET NAMES ''utf8''?[0m ?[4;35;1mSQL (0.0ms)?[0m ?[0mSET SQL_AUTO_IS_NULL=0?[0m ?[4;36;1mStream Columns (0.0ms)?[0m ?[0;1mSHOW FIELDS F...