The following reply was made to PR protocol/4716; it has been noted by GNATS.

From: Dean Gaudet <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc:  Subject: Re: protocol/4716: Server send invalid response if chunked 
transfer has chunk larger than 4095 bytes. (fwd)
Date: Thu, 12 Aug 1999 19:01:16 -0700 (PDT)

 ---------- Forwarded message ----------
 Date: Thu, 12 Aug 1999 21:57:33 -0400 (EDT)
 From: Dave Jones <[EMAIL PROTECTED]>
 Subject: Re: protocol/4716: Server send invalid response if chunked transfer 
has chunk larger than 4095 bytes.
 To: [EMAIL PROTECTED]
 X-VMS-To: IN%"[EMAIL PROTECTED]"
 X-VMS-Cc: JONESD
 
 >I just used modules/test/mod_rndchunk to test things again... it calls
 >into ab_bwrite with lots of different sizes, and I cranked it way up past
 >the 4096 limit... 
 
 Th ap_config.h file I was using (inherited) set DEFAULT_BUFSIZE to 8192, so 
 the end_chunk code was seeing buffers larger than 4096.  Letting 
 DEFAULT_BUFSIZE be 4096 lets all the chunk headers fit in 5 bytes.  There is 
 a nice comment in buff.c explaining CHUNK_HEADER_SIZE's dependance on 
 DEFAULT_BUFSIZE, shouldn't there be an assertion to catch this misconfiguration
 at compile-time?
 
 ----------------------------------------------------------------------------
 David L. Jones               |      Phone:    (614) 292-6929
 Ohio State University        |      Internet:
 140 W. 19th St. Rm. 231a     |               [EMAIL PROTECTED]
 Columbus, OH 43210           |               [EMAIL PROTECTED]
 

Reply via email to