On Fri, Mar 21, 2003 at 05:26:06PM +0000, Brian Candler wrote: > The good news is: I have found out why. sqwebmail was sending a header > > Content-Encoding: gzip > > even though the content was not gzipped. (see tcpdump below). > > I don't know why it was doing this, but reconfiguring "--without-gzip" fixed > the problem.
I get it now. Under fastcgi, printf and friends are intercepted by the fcgi library - they don't go to stdout at all. This is the same reason why the banner advertising program can't be used under fastcgi. There is already an interlock for this case: #ifdef BANNERPROG #error "Bannerprog not supported with FCGI" #endif There should be another interlock for GZIP, i.e. --without-gzip should be either implied or required if --with-fcgi is specified. Either that, or run the child process and explicitly read() its stdout and fwrite() it back to the client - bannerprog would work then too. Cheers, Brian. ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users