> > The create_connection hook has a fatal design flaw. create_conn is
run
> before
> > ap_update_vhost_given_ip(), which means that it is impossible to
install
> input and
> output
> > filters based on vhost info.
> >
> More concisely, it is now impossible to install filters in place of
> CORE_IN and CORE_OUT
> based on vhost config.

It was always impossible to do that.  The patches you are talking about
actually make it quite a bit cleaner for you to insert your filters
above the CORE filters however, because now there is no way for somebody
else to use the socket that was a part conn_rec.  The other advantage to
that patch is that if you want to insert filters based on where the
connection came from, you can.  Those patches were meant to allow
different bottom-level filters based on the type of socket used, not
based on vhost config.

Ryan


Reply via email to