You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/08/20 09:10:30 UTC

DO NOT REPLY [Bug 22573] New: - unstable force-response-1.0 behavior

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22573>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22573

unstable force-response-1.0 behavior

           Summary: unstable force-response-1.0 behavior
           Product: Apache httpd-1.3
           Version: 1.3.28
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: gav@nlr.ru


Issuing the same request (using netcat) sometimes I receive "HTTP/1.0" response and sometimes 
"HTTP/1.1". It's not possible to predict what response I receive next time: sometimes I receive 
more than 10 "1.1" responses without a break, sometimes there are more than 10 "1.0" one after 
another and sometimes they take turns. As I understand the difference is not just in minor version 
number in response, there are different headers.

I have the following 
config:

BrowserMatch "MSIE" nokeepalive downgrade-1.0 force-response-1.0
SetEnv 
nokeepalive 1
SetEnv downgrade-1.0 1
SetEnv force-response-1.0 1

These four derictives 
are in global section of config file. The last 3 are in order to show that the problem is not in 
BrowserMatch.

Here are two examples of responses for the following request

Request
-----------


GET /cgi-bin/printenv HTTP/1.1
Accept: application/vnd.ms-excel, 
application/msword, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-
Language: ru
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 
4.0; Windows 95) Opera
Host: www:8101

Response 1:
------------

HTTP/1.1 200 OK
Date: Wed, 20 
Aug 2003 06:45:23 GMT
Server: Apache/1.3.28 (Unix) PHP/4.2.2
Connection: 
close
Transfer-Encoding: chunked
Content-Type: 
text/plain

.....
downgrade_1_0="1"
force_response_1_0="1"
nokeepalive="1"

Response 
2:
---------------------

HTTP/1.0 200 OK
Date: Wed, 20 Aug 2003 06:48:26 GMT
Server: Apache/1.3.28 (Unix) 
PHP/4.2.2
Connection: close
Content-Type: 
text/plain

....
downgrade_1_0="1"
force_response_1_0="1"
nokeepalive="1"

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