On 2004.07.16, Stephen Deasey <[EMAIL PROTECTED]> wrote:
> On Fri, 2004-07-16 at 13:01, Dossy wrote:
> > This also raises the issue that AOLserver currently does NOT accept HTTP
> > requests where header lines are split across multiple lines via
> > header-continuation.  With regard to strict compliance to the spec.,
> > this is a bug and should be addressed separately.
>
>
> I think this is already handled.  The comment for Ns_ParseHeader, which
> is called within driver.c to parse the headers as they are recieved,
> says:
>
>     Consume a header line, handling header continuation, placing
>     results in given set.

I just tested with my own virtual server setup, and splitting the Host:
header on a continued line:

    # telnet ... 80
    ...
    GET / HTTP/1.1
    Host:
     yyy:80

    HTTP/1.0 200 OK
    ...

Suppose "xxx" is the default virtual server, and I requested "yyy" --
the response I got back was for server "xxx".  If I don't split the
Host: header and have it as all one line, it serves back the appropriate
page for server "yyy".

This might be an issue with the leading SP or HT not being trimmed
properly, or something else -- I'll have to investigate further.

-- Dossy

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to