mod_fcgid and streaming large request bodies

2013-12-27 Thread Justin Erenkrantz
Hi all! I'm currently using FastCGI for an application - in particular, Ceph's radosgw (S3 endpoint). I was told to use mod_fastcgi as mod_fcgid doesn't handle large request bodies appropriately. Yet, when I looked at the mod_fastcgi code, I shrieked in horror. =) In looking at

Ceph patches for httpd

2013-12-27 Thread Justin Erenkrantz
Hi all! There are two patches that the Ceph community has applied to their httpd packages in combination with radosgw (S3 endpoint) - (see https://github.com/ceph/apache2). One of them is to allow Content-Length of '0' to be emitted from HEAD requests:

Re: please sign new apache releases only with strong keys -- trimming the KEYS file

2013-12-27 Thread Daniel Kahn Gillmor
On 12/26/2013 06:18 PM, Nick Kew wrote: You're ahead of us. Individual Apache folks like Jim have taken responsibility and moved to 4096-bit keys, but we haven't as a community had the discussion that might lead to pruning KEYS. My inclination is to say NO to requiring anyone to remove old

Re: please sign new apache releases only with strong keys -- trimming the KEYS file

2013-12-27 Thread Frederick Miller
Please remove me from this email list. Please unsubscribe me. Thanks. On Fri, Dec 27, 2013 at 10:49 AM, Daniel Kahn Gillmor d...@fifthhorseman.net wrote: On 12/26/2013 06:18 PM, Nick Kew wrote: You're ahead of us. Individual Apache folks like Jim have taken responsibility and moved to

Re: Ceph patches for httpd

2013-12-27 Thread Ask Bjørn Hansen
On Dec 27, 2013, at 14:57, Justin Erenkrantz jus...@erenkrantz.com wrote: The use case here is that someone could store a zero-byte file inside of radosgw. Amazon's S3 clients expect to see a Content-Length on HEAD requests - IOW, they don't infer the lack of a Content-Length as being '0'.

Re: Ceph patches for httpd

2013-12-27 Thread Frederick Miller
How can I unsubscribe from these emails? On Fri, Dec 27, 2013 at 10:53 AM, Ask Bjørn Hansen a...@develooper.comwrote: On Dec 27, 2013, at 14:57, Justin Erenkrantz jus...@erenkrantz.com wrote: The use case here is that someone could store a zero-byte file inside of radosgw. Amazon's S3

Re: Ceph patches for httpd

2013-12-27 Thread Frederick Miller
Please stop sending me these emails. On Fri, Dec 27, 2013 at 10:53 AM, Ask Bjørn Hansen a...@develooper.comwrote: On Dec 27, 2013, at 14:57, Justin Erenkrantz jus...@erenkrantz.com wrote: The use case here is that someone could store a zero-byte file inside of radosgw. Amazon's S3

how to unsubscribe form a mailing-list

2013-12-27 Thread Reindl Harald
Am 27.12.2013 16:53, schrieb Frederick Miller: Please remove me from this email list. Please unsubscribe me. Thanks. first do *not* hijack threads please realize that any mailing list has a welcome message which should be read after subscribe and not careless thrown away as well as list

Re: Ceph patches for httpd

2013-12-27 Thread Justin Erenkrantz
On Fri, Dec 27, 2013 at 10:53 AM, Ask Bjørn Hansen a...@develooper.comwrote: On Dec 27, 2013, at 14:57, Justin Erenkrantz jus...@erenkrantz.com wrote: The use case here is that someone could store a zero-byte file inside of radosgw. Amazon's S3 clients expect to see a Content-Length on

Re: mod_fcgid and streaming large request bodies

2013-12-27 Thread Justin Erenkrantz
On Fri, Dec 27, 2013 at 8:49 AM, Justin Erenkrantz jus...@erenkrantz.com wrote: Anyway, I'm diving into the code a bit - but, I figured it might be useful to see if anyone else has any thoughts about how to handle large request bodies with mod_fcgid. Here's a first-cut patch that compiles at

Re: mod_fcgid and streaming large request bodies

2013-12-27 Thread Jeff Trawick
On Fri, Dec 27, 2013 at 6:14 PM, Justin Erenkrantz jus...@erenkrantz.comwrote: On Fri, Dec 27, 2013 at 8:49 AM, Justin Erenkrantz jus...@erenkrantz.com wrote: Anyway, I'm diving into the code a bit - but, I figured it might be useful to see if anyone else has any thoughts about how to

Re: mod_fcgid and streaming large request bodies

2013-12-27 Thread Justin Erenkrantz
On Fri, Dec 27, 2013 at 6:42 PM, Jeff Trawick traw...@gmail.com wrote: It would be quite valuable if there is a limit on how much can be pre-read (0 for pure streaming). Pre-reading the request body reduces the number of application processes or threads required, and they are usually fatter