httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@telebase.com>
Subject WWW Form Bug Report: "bug in set_content_length()" on UnixWare (fwd)
Date Wed, 24 Apr 1996 16:38:33 GMT
No ack sent.

lampa@fee.vutbr.cz liltingly intones:
> From nobody@hyperreal.com Wed Apr 24 09:43:56 1996
> Message-Id: <199604241343.GAA12253@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

Mime
View raw message