httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Trashed/chunked response
Date Tue, 07 May 2002 09:24:15 GMT
I've raised this questing before, but i'll take it again.

Is there anyway to control how Apache will encode the response of dynamic
content (eg. cgi-script)?
I have some trouble with big cgi-generated pages, which become corrupted,
and have the "Transfer-encoding: chunked" header. Another thing is that
sometimes, in the middle of the response, it starts over (eg. "HTTP/1.1 200
OK...")!
The same script has executed fine on other servers, where it has not been
chunked-encoded.
I don't know if changing the encoding will help, but it could be a step in
tracking down what is causing it. For the record, i've noted this error in
version 2.0.28 and 2.0.35.

Hopefully someone can help me out.

Regards,

Robert Andersson


Here is a conversation i had with my server. A lot has been extracted, and
is described within paranthesis along with comments:

GET /perl-script.cgi HTTP/1.1
Host: host.domain.se

HTTP/1.1 200 OK
Date: Tue, 07 May 2002 08:24:03 GMT
Server: Apache/2.0.35 (Win32)
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1

244a
(...Fine HTML-output, as expected...)
2800
(...Fine HTML-output, as expected...)
8100
(...Fine HTML-output, not sure if all 08100 octets are here, but then comes
this:)
....................ï..\........|...........|ðjâ|ðjâð...TXz.................
............................................................ÿÿÿ.ÿÿÿ.ÿÿÿ
(...etc (a lot)...)
ÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.2800
(...Some more HTML, and in the middle of it, it start over:)
HTTP/1.1 200 OK
Date: Tue, 07 May 2002 08:24:03 GMT
Server: Apache/2.0.35 (Win32)
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1

244a
(...HTML, from the beginning, and then trash:)
..............................ØÅ"ÿ.Ffþ....ò$...0......0Efþ.
fþ..Ü..Ffþ........@Efþ@Efþ....ò$..................................à{õö51....
.......................Ffþ..................................................
..................È'́....Ë|
òpeԁ....................Xøä....,ª¤òøDfþ....(........ fþ.
fþò$......êJ..Ë...äÁ..........................}Hfþ....Y·µñ²·µñ¨HfþpFfþ......
......\.s.y.s.t.e.m. .v.o.l.u.m.e. .i.n.f.o.r.m.a.t.i.o.n..
(...etc (a lot), including some Unicode system filenames...)
ñtÉÌðìÈÌð....¸ÉÌð*.´ñ°ÈÌðdÈÌð...............................................
.........................................................................
(...then some more clean HTML, followed by:)
ÿÿÿ.ÿÿÿ.Hoÿ.ÿ¿ÿ.ÿÿÿ.oßÿ.¿tÿ.ÿÿÿ.¿ÿÿ.t.ÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.t¿ÿ.ßoÿ.Hoÿ...ÿ...ÿ...ÿ.
..ÿ.H.ÿ.ÿßÿ.
(...etc...)
...ÿ.t.ÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.2400
(...more clean HTML, then:)
ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.
ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿ
(...etc...)
ÿ¿ÿ.ÿÿÿ.oßÿ.¿tÿ.ÿÿÿ.ÿÿÿ.Hoÿ.ÿ¿ÿ.ÿÿÿ.oßÿ.¿tÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.
ÿÿÿ.Hoÿ.ÿ¿ÿ.ÿÿÿ.oßÿ.¿tÿ.
(...etc...)
.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.2400
(...more HTML, then:)
ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.
<...etc...)
ÿ.oßÿ...ÿ.¿tÿ..tÿ.H.ÿ.ÿßÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.tHÿ.ÿÿÿ.2400
(...some more, then:)
ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ...
(...)
...ÿ...ÿ.¿tÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ.ÿÿÿ..tÿ.H.ÿ.ÿßÿ.1534
(...the the tail of the HTML-doc)
0




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message