The following reply was made to PR mod_include/1994; it has been noted by GNATS.
From: Dean Gaudet <[EMAIL PROTECTED]>
To: Richard Huveneers <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: mod_include/1994: MSIE 4 still choking on chunks with bputc()
Date: Wed, 25 Mar 1998 16:16:37 -0800 (PST)
Yeah this looks like the only bogosity in the module... but I think the
intention was to get a connection which is unbuffered. So you should
probably do this:
int len_read = read( sock, databuffer, sizeof(databuffer) );
if ( len_read <= 0 )
break;
if ( rwrite( r, databuffer, len_read ) <= 0 )
break;
if ( rflush( r ) < 0 )
break;
which forces a flush after each write... Doing this will work with
apache-1.2 and 1.3. There's a cheaper way to do it with 1.3 (mark the
BUFF as unbuffered earlier), but that has other side-effects in 1.2 that
you don't want to deal with.
Can you submit that fix back to the mod_servlet folks?
Thanks
Dean