On Sat, 8 Nov 2003, Hrvoje Niksic wrote: > So if I have the connection to the endpoint, I should be able to reuse it. > But on the other hand, a server might decide to connect a file descriptor to > a handler for a specific virtual host, which would be unable to serve > anything else. FWIW, it works fine with Apache.
I would say that your described approach would work nicely, and it would not contradict anything in the HTTP standards. Each single request is stand-alone and may indeed have its own Host: header, even when the connection is kept alive. At least this is how I interpret these things. -- -=- Daniel Stenberg -=- http://daniel.haxx.se -=- ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol