You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Chuck Murcko <ch...@telebase.com> on 1996/04/24 18:38:33 UTC

WWW Form Bug Report: "bug in set_content_length()" on UnixWare (fwd)

No ack sent.

lampa@fee.vutbr.cz liltingly intones:
> From nobody@hyperreal.com Wed Apr 24 09:43:56 1996
> Message-Id: <19...@taz.hyperreal.com>
> From: lampa@fee.vutbr.cz
> To: chuck@wormhole.telebase.com
> Date: Wed Apr 24  6:43:35 1996
> Subject: WWW Form Bug Report: "bug in set_content_length()" on UnixWare
> 
> Submitter: lampa@fee.vutbr.cz
> Operating system: UnixWare, version: 
> Version of Apache Used: 1.1b2
> Extra Modules used: 
> URL exhibiting problem: 
> 
> Symptoms:
> --
> cannot content length using argument of the
> set_content_length, look at this patch:
> 
> *** http_protocol.c.old St Dub 24 15:25:22 1996
> --- http_protocol.c     St Dub 24 15:25:42 1996
> ***************
> *** 146,152 ****
>   {
>       char ts[MAX_STRING_LEN];
> 
> !     sprintf (ts, "%ld", (long)r->finfo.st_size);
>       table_set (r->headers_out, "Content-length", pstrdup (r->pool, ts));
>       return 0;
>   }
> --- 146,152 ----
>   {
>       char ts[MAX_STRING_LEN];
> 
> !     sprintf (ts, "%ld", (long)clength);
>       table_set (r->headers_out, "Content-length", pstrdup (r->pool, ts));
>       return 0;
>   }
> 
> 
> 
> --
> 
> Backtrace:
> --
> 
> --
> 

chuck
Chuck Murcko	N2K Inc.	Wayne PA	chuck@telebase.com
And now, on a lighter note:
"Cogito ergo I'm right and you're wrong."
		-- Blair Houghton