List Info

Thread: DO NOT REPLY New: - HTTP/1.0 request returns as HTTP/1.1




DO NOT REPLY New: - HTTP/1.0 request returns as HTTP/1.1
country flaguser name
United States
2007-03-19 20:33:18
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
896>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41896

           Summary: HTTP/1.0 request returns as HTTP/1.1
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugshttpd.apache.org
        ReportedBy: jason.spamgstreetmedia.com


http/1.0 requests against apache 2.2.4 return as http/1.1
responses (and use
KeepAlive for the connection).  The access log file is
written properly with a
1.0 request

even adding SetEnv force-response-1.0 True in my httpd.conf
will not force
apache to return a 1.0 response without keepalive


when running ab against my server as:

ab -c 1 -n 1 -v 100 http://some.site.here/


gets:

Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/

Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/

Benchmarking some.site.here (be patient)...INFO: POST header
==
---
GET / HTTP/1.0
User-Agent: ApacheBench/2.0.41-dev
Host: some.site.here
Accept: */*


---
LOG: header received:
HTTP/1.1 200 OK
Date: Tue, 20 Mar 2007 01:25:42 GMT
Server: Apache
Status: 200 OK
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

(html content follows)
--

 this causes all the requests to time out until the minimum
keepalive time has
expired.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: bugs-unsubscribehttpd.apache.org
For additional commands, e-mail: bugs-helphttpd.apache.org


DO NOT REPLY - HTTP/1.0 request returns as HTTP/1.1
country flaguser name
United States
2007-03-20 06:41:49
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
896>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41896


jortonredhat.com changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From jortonredhat.com  2007-03-20 04:41 -------
The version which the server gives in the response
status-line indicates the
latest HTTP version it supports, and is unrelated to the
version the client
sends; this is expected behaviour.

If you want to disable persistent connection support then
just use: "KeepAlive off".

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: bugs-unsubscribehttpd.apache.org
For additional commands, e-mail: bugs-helphttpd.apache.org


DO NOT REPLY - HTTP/1.0 request returns as HTTP/1.1 with keepalive
country flaguser name
United States
2007-03-20 12:02:34
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
896>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41896


jason.spamgstreetmedia.com changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |
            Summary|HTTP/1.0 request returns as |HTTP/1.0
request returns as
                   |HTTP/1.1                    |HTTP/1.1
with keepalive




------- Additional Comments From jason.spamgstreetmedia.com  2007-03-20 10:02 -------
The point of the capture log is that apache 2.2.4 is
handling the connection as
a keepalive request when the client requested a HTTP/1.0
session without a
Connection: Keep-Alive in the request

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: bugs-unsubscribehttpd.apache.org
For additional commands, e-mail: bugs-helphttpd.apache.org


DO NOT REPLY - HTTP/1.0 request returns as HTTP/1.1 with keepalive
country flaguser name
United States
2007-03-20 14:57:17
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
896>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41896


rpluemapache.org changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From rpluemapache.org  2007-03-20 12:57 -------
Sorry, but I cannot reproduce this. A request as given by
you in the report is
closed immediately after the response has been sent.
Furthermore if
force-response-1.0 is set to true the server reponds with
HTTP/1.0. Please keep
in mind that the server only responds with HTTP/1.0 if the
the request was a
HTTP/1.0 request. It still does respond with HTTP/1.1 if the
request was HTTP/1.1.
Given all the points above I suspect that something else is
wrong such that
your ab run fails. BTW: ab also works fine for me.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: bugs-unsubscribehttpd.apache.org
For additional commands, e-mail: bugs-helphttpd.apache.org


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )