>
> I always get exactly the same offset - on every epl page on the server but
> on no other pages. Judging by what I get when I retrieve the output by
> telnet, I think maybe the carriage return & newline aren't being appended
by
> Embperl in my case. Is this possible? How would I test it?
>
> Does nobody else see this for their pages using curl?
>
I diged deeper into this and found that you are right when escmode is set to
zero. Then you always get an offset of two, because the crlf is added to the
content-length, but the crlf isn't sent (to allow output of binary data).
(This was introduced in 1.3b6)
To fix this goto epmain.c line 2647 and change it from
set_content_length (r -> pApacheReq, GetContentLength (r) + 2) ;
to
set_content_length (r -> pApacheReq, GetContentLength (r) + (r ->
pCurrEscape?2:0)) ;
or fetch the newest Embperl version from the CVS.
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]