www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Mares ...@gts.cz>
Subject protocol/610: Multiple virtual hosts over single connection don't work
Date Fri, 23 May 1997 08:50:01 GMT

>Number:         610
>Category:       protocol
>Synopsis:       Multiple virtual hosts over single connection don't work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri May 23 01:50:00 1997
>Originator:     mj@gts.cz
>Organization:
apache
>Release:        1.2b10
>Environment:
Linux 2.0.30, GCC 2.7.2.2
>Description:
If using multiple HTTP/1.1 GET requests on single connection to retrieve
data from different virtual hosts, the virtual host list is scanned starting
with the most recently used VH, not with the first one which causes that most VH's
are ignored.
>How-To-Repeat:
GET / HTTP/1.1, Host: first_virtual_host; GET / HTTP/1.1, Host: primary_server_name
>Fix:
Set current_conn->server back to the original value after each call to read_request
from the http_main main loop
>Audit-Trail:
>Unformatted:



Mime
View raw message