similar to: Large file support (up and down) for Mongrel 0.13.3

Displaying 20 results from an estimated 100 matches similar to: "Large file support (up and down) for Mongrel 0.13.3"

2006 Apr 11
0
! camping 1.4
Okay, Camping 1.4 is out. gem install camping --source code.whytheluckystiff.net The only recent change is that the request body gets store in the @in variable as an open stream. It''s also okay to pass an IO object out of Camping. Lastly, Camping + Mongrel (SVN) now supports the X-Sendfile header. [1] Very swift and cool. _why [1]
2008 Sep 01
0
Apache configuration for using plugin Xsendfile
Hello I am facing some problem in using the plugin Xsendfile(http:// john.guen.in/rdoc/x_send_file/).Here in README for setting up web server , the author has given a link to http://celebnamer.celebworld.ws/stuff/mod_xsendfile .But when I try to Install mod_xsend_file.c I am getting an error apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file.. apxs:Error: At least one
2006 May 30
2
Mongrel Bug
Mongrel''s tempfile generation on win32 is broken meaning large files can''t be uploaded. On line 198 of mongrel.rb (0.13.3) HttpRequest#initialize the tempfile function is called:       if clen > Const::MAX_BODY         @body = Tempfile.new(self.class.name)         @body.binmode       else Unfortunately this also includes the module name as the example shows:
2006 Nov 26
2
Writing a mod_put HttpHandler
I''m looking at writing a Mongrel handler that mimics the behavior of the Apache mod_put [1]. It allows for the streaming upload of very large (GB) files; it also supports resumable upload. Before I get too involved, I''d like to ask if my reading of the mongrel source code is correct, i.e. what I want to do isn''t currently possible. Looking at the class
2003 Aug 20
1
(Fwd) Lost data on FreeBSD tape (fwd)
This appears to be a pthreads problem, not scsi. Anyone care to look at it? ---------- Forwarded message ---------- Date: Wed, 20 Aug 2003 11:24:42 -0400 From: Dan Langille <dan@langille.org> To: freebsd-scsi@freebsd.org Cc: Kern Sibbald <kern@sibbald.com> Subject: (Fwd) Lost data on FreeBSD tape I've been working with Kern Sibbald, author of Bacula (http://www.bacula.org/) to
2006 Nov 02
8
MogileFS handler
Hello, I''ve been using NFS for sharing files across a cluster of servers but I''ve had a lot of problems with that. I''m planning to move to MogileFS which seems to be more stable and more adapted to this usage (lots of user uploaded files). I wonder if someone has already worked on an integration of MogileFS into Mongrel (and Rails app) for serving the files ? If not, I
2006 Dec 19
1
mongrel_config has no output
I am not sure what i am doing wrong here, but no matter what i try i get no output from mongrel_config: $ mongrel_rails configtool $ telnet localhost 3001 Trying 127.0.0.1... Connected to localhost. Escape character is ''^]''. GET /config/ HTTP/1.1 HTTP/1.1 200 OK Connection: close Date: Tue, 19 Dec 2006 05:33:16 GMT Content-Type: text/html Content-Length: 0 Connection closed by
2007 Dec 19
1
unexpected behavior from gzfile and unz
I get unexpected behavior from "readLines()" and "scan()" depending on how the file is opened with "gzfile" or "unz". More specifically: > file <- gzfile("file.gz") > readLines(file,1) [1] "a\tb\tc" > readLines(file,1) [1] "a\tb\tc" > close(file) It seems that the stream is rewound between calls to readLines.
2011 Jan 06
1
[PATCH] close client socket after closing response body
I am wondering if there are any apps affected by this bug (and perhaps keeping people from switching Unicorn). It''s a fairly esoteric case, so I probably won''t make another release until tomorrow (sleepy now, will probably screw something else up or realize something else is broken :) Anyways it''s pushed out to master and 1.1.x-stable in case people want^Wneed it
2016 Apr 12
2
Failed to re-index objectSid after botched DLZ back-end update
Alright, I'm taking the plunge: We're switching our three AD DCs from Samba internal to BIND_DLZ back end. I needed a version of BIND with DLZ, as it appears support for that is not so ubiquitous. I went here first: https://wiki.samba.org/index.php/Using_BIND_DLZ_backend_with_secured_/_signed_DNS_updates We use Ubuntu 14.04 here, and the Debian/Ubuntu instructions fail on apt-get
2012 Dec 17
3
getdents spinning on 0x7fffffff
I was flipping through the code recently and noticed that we still have the double whammy of allocating dir entry positions with parent_dir->counter++ and that weird setting of f_pos to 2^31-1. So after enough creates (and deletes :)) in a directory we end up with an entry item whose key is past that value. f_pos gets rewound instead of being set to that magical EOF. readdir() gets stuck
2015 Feb 04
0
[ANNOUNCE] libpciaccess 0.13.3
libpciaccess is used by the Xorg server to interface with the appropriate routines for finding and using PCI bus devices on various operating systems. This release provides a number of platform-specific improvements for various platforms, including Linux, Solaris, OpenBSD, NetBSD, and Hurd, plus the addition of some support for Cygwin. Alan Coopersmith (3): Enable use of
2006 Dec 21
6
Rails'' send_file, Mongrel, and *gasp* memory
I''ve had a right fun few days at work trying to figure out why our Rails app (which isn''t under very heavy load) kept eating memory and bringing our server to our knees. Eventually I traced it to send_file (which was in a way a relief as it wasn''t down to my coding ;) -- every time a user started downloading, the memory consumed by the app would jump, and
2006 Feb 03
3
Mongrel HTTP Library 0.2.2 (Serving Directories)
Hey Folks, Another announcement of Mongrel -- the fastest little web server library for Ruby yet. This release is nice in that it should build on win32 better and it now sports a small DirHandler that can serve directories and files. This means Mongrel is closer to replacing WEBrick as a Rails debug runner. You can get the releases and information from: *
2006 Apr 08
1
Mongrel 0.3.12.4 Pre-Release -- Please Test (Not Win32)
Morning Folks, I have a pre-release of Mongrel 0.3.12.4 up on the releases site that I''d appreciate everyone testing out. This release fixes the following: * Corrects the date format returned so that months are three chars only. * Fixes a problem where DirHandler wasn''t returning Last-Modified and Etag headers for unknown MIME types. * Implements a default mime type for
2006 Mar 28
1
Mongrel Web Server 0.3.12 -- Updated, Getting Closer
Everyone tracking the Mongrel 0.3.12 pre-release should dump their current install and re-install: $ gem uninstall mongrel $ gem uninstall gem_plugin $ gem install mongrel --source=http://mongrel.rubyforge.org/releases/ This release fixes a problem with specifying a directory to change to, and fixes the incredibly broken DirHandler code from last night. The big change people will probably
2007 Aug 10
1
serving static files
It seems that Merb is sending static files with Mongrel::DirHandler. (mongrel_handler.rb:52) if get_or_head and @files.can_serve(path_info) # File exists as-is so serve it up MERB_LOGGER.info("Serving static file: #{path_info}") @files.process(request,response) I haven''t done benchmarks and I''ve hardly glanced at DirHandler''s code but the
2006 Dec 01
2
favicon
im trying to figure out how to serve a favicon.ico for my app, does anyone have a line for Mongrel::Configurator? all i can see is that everyone seems to use the 404 handler...how boring.. uri "/favico", :handler => Mongrel::DirHandler.new(File.dirname(__FILE__)+"/favicon.ico") is sort of close, but it says The image ?http://m/favicon.ico? cannot be displayed, because it
2008 Jun 03
9
Build rspec-rails as a gem?
I can''t figure out how to build rspec-rails as a gem when just cloned from github... there isn''t any .gemspec file or rake task that does this. Any help? -- Posted via http://www.ruby-forum.com/.
2007 Oct 25
2
Patch for X-SendFile on Windows
A new TRAC entry with patch has been added (initially for Camping) to allow X-SendFile on Windows to use DirHandler to send files on drives other than the current drive, if the DirHandler base path is "/" (which is the way Camping uses DirHandler). As it was, "/" gets expanded to "C:/", and then you can''t serve files on any other drive, which I needed to do