>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: [EMAIL PROTECTED] >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:
