httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@raleigh.ibm.com>
Subject Re: [PATCH] allocate properly-sized buffer for header
Date Fri, 26 Jan 2001 00:23:01 GMT
Jeff Trawick wrote:
> 
> ap_basic_http_header() does a couple of different things:
> 
> 1) makes decisions about protocol and keepalive
> 2) builds part of the header
> 
> When used by ap_http_header_filter(), other stuff has to happen
> between step 1 and step 2, and Ryan and Greg found out recently.
> 
> A simple solution is to split the function in two parts and change any
> caller of the old function to call the two functions instead.

Will this patch take care of our header leakage/duplication/overwrite
problem?
If so, can we commit it ASAP, then move on to more elegant solutions? 

I believe I'm seeing this problem while testing 2.0 on apache.org.  When
I request httpd://apache.org:8092 , the _page_ my browsers display start
with "Connection: Keep-Alive Content-Type: text/html X-Pad: avoid
browser bug", then I see a broken .gif .

Thanks,
Greg

Mime
View raw message