httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <>
Subject RE: Baffled by the negotation fix...
Date Sat, 02 Mar 2002 20:36:07 GMT
> Ryan Bloom wrote:
> >
> > We originally wrote the protocol filters to be connection based, but
> > that had some drawbacks that people were unwilling to live with, and
> > made writing input filters very complex.  Today, the filters that
> > implement the protocol are request based.
> Gotcha. I checked back and re-discovered the problems. Durn shame,
> they really are closer to being connection rather than request
> for non-stateless protocols.
> > of the request.
> >
> > The problem we have is that we have tied our protocol filters to the
> > lifetime of a resource, or a single request_rec in the server.  I am
> > stating that I believe that the correct way to fix this is to split
> > protocol and resource filters into two pointers.  The
> > filters are ignored on sub_request and internal redirects.  The
> > filters are by definition carried over from one request to the next,
> > until the request (from the user's perspective) is finished.
> >
> I think think would also tend to allow for better abstraction as well.
> But the ideal solution would be, to formally implement the protocol
> layer, even though not needed for HTTP/HTTPS. Of course, the overhead
> required may not be trivial. Then again, the filter division may
> allow us to "kinda" implement it anyway.

We actually tried to add it a while ago, but it was vetoed because HTTP
doesn't need it.  The overhead could actually be minimal, because the
big stuff to move there is the protocol filters and the user/password


View raw message