Re: [Snowy] Some patches
- From: Stuart Langridge <stuart langridge canonical com>
- To: Sandy Armstrong <sanfordarmstrong gmail com>
- Cc: Piotr Gaczkowski <doomhammerng gmail com>, snowy-list gnome org
- Subject: Re: [Snowy] Some patches
- Date: Thu, 25 Jun 2009 13:58:19 +0100
Sandy Armstrong wrote:
>> Piotr -- do you have any docs on the PUT limit? IMHO, this sounds like
>> a broken behavior to me.
>
> It may be, but if it is the default Apache behavior and is not
> configurable on a per-user basis, using PUT will seriously get in the
> way of all the people who want to set up their own instance in shared
> hosting environments. Most of the people inquiring about setting up
> Snowy in #tomboy and #snowy have been in that situation. But yeah,
> seeing docs on this would be great to make sure we really understand
> it.
I can't replicate any problem like this. Trivial CGI script:
#!/usr/bin/python
import sys
print "Content-type: text/plain"
print
data = sys.stdin.read()
print len(data)
and PUT to it to confirm the output size is OK:
aquarius dell-desktop:/var/www/put$ dd if=/dev/zero bs=4 count=1
2>/dev/null | curl -X PUT -T - http://localhost/put/test.cgi
4
aquarius dell-desktop:/var/www/put$ dd if=/dev/zero bs=400 count=1
2>/dev/null | curl -X PUT -T - http://localhost/put/test.cgi
400
aquarius dell-desktop:/var/www/put$ dd if=/dev/zero bs=40000 count=1
2>/dev/null | curl -X PUT -T - http://localhost/put/test.cgi
40000
aquarius dell-desktop:/var/www/put$ dd if=/dev/zero bs=4000000 count=1
2>/dev/null | curl -X PUT -T - http://localhost/put/test.cgi
4000000
aquarius dell-desktop:/var/www/put$ dd if=/dev/zero bs=400000000 count=1
2>/dev/null | curl -X PUT -T - http://localhost/put/test.cgi
400000000
Looks OK to me. If someone's going to PUT more than 400MB of Tomboy
notes then I invite them to, er, use something else. :-)
sil
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]