Displaying 20 results from an estimated 4000 matches similar to: "Upload Size Limiting Handler"
2006 Oct 19
8
Mongrel::HttpHandlerPlugin
Hi,
I''m trying to write a file upload monitor for mongrel that uses
juggernaut to alert the browser of a change. I''m writing a plugin that
uses Mongrel::HttpHandlerPlugin but it looks like the only method that
gets called is process and that is only when the upload has finished.
I''m setting the following:
@request_notify = true
But I am still only getting process to
2007 Mar 24
0
max upload size!
As suggested in "max upload size?"
http://www.mail-archive.com/mongrel-users at rubyforge.org/msg02325.html
I created a plugin that disconnects (raises an error which
terminates the socket) if the specified content-length is higher
than 200 MB (by default).
I don''t know the behaviour if the specified content length is
different than the actual uploaded data or if no
2007 Feb 24
3
Mongrel Cluster 1.0.1.1 Prerelease: Healing power of the pack!
Hello all...
I know its been a while since the last one, but a new prerelease is
available with a gratuitous increase in version numbers!
gem install mongrel_cluster --source http://mongrel.rubyforge.org/releases/
This one has some new features in it that need to be tested on all unix
platforms. Please run --clean and cluster::status on every *nix you can
find. I run linux so the rest are up
2007 Feb 06
0
Question about file upload max size
Hi,
We use merb for our file upload server. Everything is ok except file
upload size limit, we want to cancel file upload process immediately once we
learn that the size of upload files has exceed the max size limit.
First, we try to hack MerbUploadHandler#request_begins(here, we can get
CONTENT_LENGTH), but get trouble to cancel the upload process elegantly.
Currently, we have no
2007 Mar 16
0
cancel running request
Hi everybody,
I''m making a plugin to limit the maximum request size (for file
uploads). Instead of canceling the request after it''s completely
in (with the method ''process''). I would like to cancel it based
on the CONTENT_LENGTH in the method request_begins. Usability
thingie ;-)
how can i cancel the running request and send a response, instead
of waiting?
2006 Mar 22
0
0.3.12 Pre-Release Gems Available
Hi Folks,
I''d love for everyone to grab the 0.3.12 pre-release gems from
http://mongrel.rubyforge.org/releases/ and tell me if their stuff breaks.
You can get it with a simple:
gem install mongrel --source=http://mongrel.rubyforge.org/releases/
This release features the following goodies:
* The -n and -t options to mongrel_rails start have changed in meaning to be
the maximum number
2009 Jun 12
5
Limit Request Body Size (Disallow very large File-uploads)
Hello all,
For the last couple of days I was trying to get my
Apache/mod_proxy/mongrel setup to limit the size of the request body.
The setup is as follows:
1.) Apache acts as a reverse proxy by facilitating mod_rewrite and mod_proxy
2.) Requests for non-static files are passed on to a mongrel_cluster
3.) We use mongrel for our Ruby on Rails application
Note that due to some restrictions we are
2011 Jun 27
0
Delay Job on File upload handler
Hi,
I have developed application with rails 3.0.7 on heroku that target multiple
user with high volume of uploading file (size aprox 400kb).
My question is, does when one user submit a file, are the instance that
handle the request got bounded to that request so other request will have
to wait for it to complete ?
Also, does handling this kind of request are better in a delayed job to
improve
2005 Aug 18
3
Optimum online-upload throttling confirmed.
Hello All,
I was recently fighting with an optimum online connection in NY.
I finally got in touch with someone that confirmed they are throttling
my upload connection.
I just wanted to make everyone aware of it, so if you have problems if
your ping times jump erratically, this could be the cause.
Their suggestions were, although you can upload a lot, do not do it
constantly. They do not want
2007 Mar 12
17
need help writing a plugin
Hi,
I''m halfway developing a tiny plugin that allows people to scrub flash
video files. I''ve got my plugin setup to monitor a directory /movies.
Whenever a .flv file is requested within that directory, some stuff
should happen, if not, the request should be processed as usual. I don''t
know how to do the latter..
require ''mongrel''
require
2006 Sep 07
2
Upload progress and limiting file sizes
Thanks to all concerned with the implementation of the Upload
Progress plugin, it works really well.
I want to limit the size of files to be uploaded to say 10Mb. Is
there any way for Mongrel to ''refuse'' to upload files over a certain
size and then pass an error onto Rails in order to display feedback
to the user? I don''t really want to have to upload the whole
2006 Sep 20
5
[Slightly OT] Uploading files with firefox
I have been successfully using the latest mongrel and upload progress
plugin with safari but firefox seems to have some issues with any
request
that takes longer than 5 seconds to complete. You get the "Warning:
Unresponsive Script" screen. Apparently this problem is fixable by
following this:
http://computer-vet.com/weblog/2006/04/28/
firefox_warning_unresponsive_script.html
2007 Dec 19
8
Segmentation fault in Mongrel when run with --debug
I am having a problem with mongrel just stopping inside a
periodically_call_remote function so I ran mongrel with debug enabled
Mongrel seg faults after a few minutes
The mongrel filelog shows 5 files open when this happens. Same log files
that are open all the time.
Wed Dec 19 15:10:21 -0700 2007 FILES OPEN BEFORE REQUEST
/calibration/ackAdjustDistance
---
log/mongrel_debug/objects.log: 2
2006 Sep 19
2
emule047c too many files
I execute emule 0.47c (because Amule and mldonkey doesn't have protocol
ofuscation support) but I have some problems:
1.- I import the incoming + temp directories from amule, 250 downloads
inside => error too many open files.
To solve this, I try to import 20 files, next 20 files more, next 20 files
more, in batch process.
2.- But when I use emule, the same error appears in some files in
2005 Jul 20
1
limiting upload speeds does not work
Hello, I want only a very simple thing, but I have been unable to get it working so far. I would like to shape my DC++ traffic firmly to certain speeds. I am using an embedded linux router (asus wl500g), and a NATed PC (address 192.168.1.100). eth1 is a WAN interface and br0 is the LAN interface of the router.DC++ client is running on 4111 ports(tcp and udp) I actually managed to shape download
2006 Aug 24
3
Help On Upload Limiting Using CBQ.init
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Guys
Ive got an internet cafe on which I have a debian sarge box running.
The Debian box acts as a gateway and it has masquerading on. I have 40
client PC and i do not want to assign more than 64k per pc for upload
and the same is true for download too. Ive done alot of research and Ive
read tutorials about CBQ and HTB. I found that CBQ.init is
2006 Sep 19
2
Exc CB Search very little Question
Hi,
Jean-Marc Valin wrote:
> Well, you could change the order in the encoder as long as you reverse
> it in the decoder as well.
Ok, I see that in the split_cb_shape_sign_unquant function, that each
coefficient is tied to it's position in the nb_subvect exc coefficients.
Honestly, I have problems understanding what exactly the codebook search
works like. If you have the time to to
2005 Aug 10
0
Problem with voicemail, invalid extension, no error handler
I am trying to create a system as follows:
incoming call --> ivr --> sent to dummy extension 1000 --> redirects
user to ring group 2000 --> (ring group consists of extension 3000
and 4000) --> no answer --> sends to voicemailbox 1000
I want to do this to be able to have one extension number (and
mailbox) for a person but allow them to have multiple extensions
transparently
2006 Sep 19
0
CentOS-announce Digest, Vol 19, Issue 13
Send CentOS-announce mailing list submissions to
centos-announce at centos.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-request at centos.org
You can reach the person managing the list at
centos-announce-owner at centos.org
When
2005 Aug 08
1
Bandwidth limiting
Since shapecfg is no longer part of the distro what are people using in
place of cbq to limit/throttle bandwidth? I have an ftp mirror that, if
left unchecked, will suck up the entire bandwidth of the CoLo site.
TIA,
Joe
--
My Useless Vanity Page - http://www.webtrek.com/joe
See my blog, sumo game ranks and other useless junk