You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2001/06/03 19:10:11 UTC

Re: Help! delay finishing pages

Hello,
>
>     I have tried a number of combinations and I have narrowed the problem
down
> to the use of $escmode=0;

Aah I see, this problem has solved for mod_perl already, but it seems I have
overseen it for cgi mode. Try to change line 2861 in epmain.c from

      sprintf (txt, "Content-Length: %d\n", GetContentLength (r) + 2) ;

to

      sprintf (txt, "Content-Length: %d\n", GetContentLength (r) + (r ->
pCurrEscape?2:0)) ;

(the line number may vary sligthly in your version)

Does this solve the problem ?

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org