On 15/11/10 19:00, Jeff Trawick wrote:
> On Mon, Nov 15, 2010 at 4:43 AM, Steven Simpson wrote:
>> Can [CGI/Apache] deal
>> with huge message bodies, such as those exceeding virtual RAM, by saving
>> to disc (for example)?
> mod_cgi/mod_cgid: request will fail with 411 if client doesn't send
> con
On 11/15/2010 6:30 PM, Nick Kew wrote:
>
> The CGI spec is clear: CONTENT_LENGTH is guaranteed;
> EOF is NOT guaranteed, so reading to EOF is a bug and
> means the CGI can only ever "work" by coincidence!
Ah yes, pre-HTTP/1.1, silly me.
> CGI pre-dates chunked encoding (as do reports of the
> d
On Mon, 15 Nov 2010 15:25:18 -0600
"William A. Rowe Jr." wrote:
> This is really a flaw in your CGI;
No it isn't!
The CGI spec is clear: CONTENT_LENGTH is guaranteed;
EOF is NOT guaranteed, so reading to EOF is a bug and
means the CGI can only ever "work" by coincidence!
CGI pre-dates chunked
On Mon, Nov 15, 2010 at 4:25 PM, William A. Rowe Jr.
wrote:
> On 11/15/2010 3:43 AM, Steven Simpson wrote:
>>
>> I intend to have a CGI program extract a form field and deliver this
>> data to an external system, but the field in question is likely to be
>> huge. The server can't invoke the progr
On 11/15/2010 3:43 AM, Steven Simpson wrote:
>
> I intend to have a CGI program extract a form field and deliver this
> data to an external system, but the field in question is likely to be
> huge. The server can't invoke the program until it knows the length of
> the request body, in order to se
On Mon, Nov 15, 2010 at 4:43 AM, Steven Simpson wrote:
> Hi,
>
> I intend to have a CGI program extract a form field and deliver this
> data to an external system, but the field in question is likely to be
> huge. The server can't invoke the program until it knows the length of
> the request body
Hi,
I intend to have a CGI program extract a form field and deliver this
data to an external system, but the field in question is likely to be
huge. The server can't invoke the program until it knows the length of
the request body, in order to set CONTENT_LENGTH in the program's
environment. If