You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Mark Brown <mb...@OpenMarket.com> on 1996/10/11 14:32:43 UTC
Re: mod_fastcgi for 1.2dev
> >Here is a patch to make mod_fastcgi work properly with Apache 1.2dev
>
> ... and break under anything earlier ?
Yes. The 1.1.1 version is still available from www.fastcgi.com.
Either this patch is reversed, or I'm starting to see things, becuase
the latter is what it looks like now.
Oops, yes, the patch is reversed. The new code is
! if (len_to_read > bufsiz)
! len_to_read = bufsiz;
at any rate, it's supposed to be that way, trust me. It had
something to do with chunked input, I forget exactly what, though.
It is true that it doesn't work right for a buffer of 1,
though. Hmm. I'd have to remember why I did it what way in the
first place before I figure this one out... I'll let you know :)
Because of the way mod_fastcgi does its buffering, a buffer
size of 1 is possible (though quite unlikely). mod_fastcgi
passes my test suite with the patch to http_protocol, and croaks
without it.
--mark