httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasmus Lerdorf <ras...@apache.org>
Subject Re: Apache 1.3 and invalid headers
Date Wed, 20 Nov 2002 21:57:18 GMT
You mean when you send a request header that looks something like this?

~> telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / HTTP/1.1
Host: localhost
Connection: foo

HTTP/1.1 200 OK
Date: Wed, 20 Nov 2002 22:52:24 GMT
Server: Apache/1.3.28-dev (Unix) PHP/4.3.0RC1
X-Powered-By: PHP/4.3.0RC1
Last-Modified: Wed, 02 Oct 2002 13:34:42 GMT
Transfer-Encoding: chunked
Content-Type: text/html

99d
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
...

I don't get a closed connection right away.  I get all my output (chunked
in this case) and then my connection is closed.

-Rasmus

On Tue, 19 Nov 2002, Andy Yang wrote:

> Hello all,
>
> Does anyone know what the behaviour of Apache 1.3 is
> under the circumstances where the HTTP request or
> response contains an invalid request header?
>
> Specifically, when the Connection header contains
> something other than 'close'?
>
> It appears to immediately close the connection - can
> anyone confirm or deny that this is Apache's behaviour
> for both requests and responses?
>
> Thanks,
> Andy
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
> http://webhosting.yahoo.com
>


Mime
View raw message