The following reply was made to PR general/2275; it has been noted by GNATS.
From: Marc Slemko <[EMAIL PROTECTED]> To: Vladislav Malyshkin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: general/2275: mailformed header in the case of 503 code Date: Tue, 26 May 1998 09:48:03 -0700 (PDT) On Tue, 26 May 1998, Vladislav Malyshkin wrote: > > It looks like missed fields in header is because of Apache, > and not because of external script: > example: > (it prints Last-Modified, etc, it looks like a plain file) Sigh. Once again, there are no "missed" fields. There is no obligation of the server to include any of the fields you are complaining about being missing. As I said before, these sites are almost certainly running a script designed to reject requests when the load is too high. That script is the one generating the 503 and the headers of the 503. Since the whole point of the script is to only output things when the load is "too high", of course it will be different when the script doesn't handle it because the load isn't too high. > > [EMAIL PROTECTED] ~/clr/correlations/doc: telnet www.arm.uk.linux.org 80 > Trying 163.164.160.3... > Connected to snowcrash.cymru.net. > Escape character is '^]'. > HEAD / HTTP/1.0 > > HTTP/1.0 503 Service Unavailable > Content-Type: text/html > Date: Tue, 26 May 1998 15:34:12 GMT > > <HTML> > <HEAD> <TITLE>Problem Report</TITLE> </HEAD> > <BODY> > <B><FONT SIZE=+1>Problem Report</FONT></B> > <P>HTTP Error <B>503</B> occurred while attempting to retrieve the URL: > '<B>http://163.164.160.3/</B>'.<BR><HR WIDTH="100%"> > <B>Problem Description:</B><BR>Connect failed to server > '163.164.160.3'.<BR><BR><CENTER><TABLE BORDER COLS=2 WIDTH="100%" ><TR> > <TD><B>Possible Problem Cause</B></TD><TD><B>Solutions</B></TD></TR> > <TR> <TD>The server is busy</TD> <TD>Try again, later</TD> > </TR></TABLE></CENTER><BR><HR WIDTH="100%"> > </BODY></HTML>Connection closed by foreign host. > [EMAIL PROTECTED] ~/clr/correlations/doc: telnet www.arm.uk.linux.org 80 > Trying 163.164.160.3... > Connected to snowcrash.cymru.net. > Escape character is '^]'. > HEAD / HTTP/1.0 > > HTTP/1.0 200 OK > Date: Tue, 26 May 1998 15:38:15 GMT > Server: Apache/1.2.5 > Last-Modified: Fri, 22 Aug 1997 11:30:27 GMT > ETag: "e839-519-33fd7853" > Content-Length: 1305 > Accept-Ranges: none > Connection: close > Content-Type: text/html > > Connection closed by foreign host. > [EMAIL PROTECTED] ~/clr/correlations/doc: > > > > > > On Sun, 24 May 1998, Marc Slemko wrote: > > > On 24 May 1998, Vladislav Malyshkin wrote: > > > > > > > > >Number: 2275 > > > >Category: general > > > >Synopsis: mailformed header in the case of 503 code > > > >Confidential: no > > > >Severity: non-critical > > > >Priority: medium > > > >Responsible: apache > > > >State: open > > > >Class: sw-bug > > > >Submitter-Id: apache > > > >Arrival-Date: Sun May 24 15:50:00 PDT 1998 > > > >Last-Modified: > > > >Originator: [EMAIL PROTECTED] > > > >Organization: > > > apache > > > >Release: 1.3b6 > > > >Environment: > > > Linux RedHat 5.0 gcc > > > >Description: > > > In the case of 503 code server prints mailformed header: > > > (It does not print > > > Server: > > > Connection: close > > > etc.) > > > > > > This error happens on servers running Apache 1.2.6 and 1.3b6 > > > > Erm... what is your connection to freshmeat.net? > > > > Why do you say the header is malformed? It is not normal, but just > > because it doesn't print all the headers it normally does doesn't mean it > > is "malformed". > > > > > > > > > > Example: > > > > > > [EMAIL PROTECTED] /tmp: telnet freshmeat.net 80 > > > Trying 199.183.24.237... > > > Connected to freshmeat.net. > > > Escape character is '^]'. > > > HEAD / HTTP/1.0 > > > > > > HTTP/1.0 503 Service Unavailable > > > Content-Type: text/html > > > Date: Sun, 24 May 1998 22:31:58 GMT > > > > Are you sure this is being generated by Apache? It is a 1.0 response, so > > either the server is configured in a special way or this is really some > > other script returning the headers. > > > > There is nothing in the output you give that I notice as being invalid. > > Not usual, but certainly possible to setup Apache to generate. > > > > >