httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: SSL as a layer? Ordering layers? (was: cvs commit: ...)
Date Tue, 28 Mar 2000 00:49:11 GMT

> Do you mean that the SSL needs to write to the socket file descriptor Or
> simply that it must be the "last layer"? (by arranging to be last or
> hooking at the r->connection->client level?)

SSL must be the layer to actually write out to the network.  

That's one of the reasons this model doesn't work, and why modules must
know if they have other modules to operate on the data.


> Last layer could be arranged, and it doesn't seem that we'd be changing
> the conn->client stuff (thus providing the same hook point).
> Imagine if we inserted a hook right before the content-handler. Call it
> something like "register-processors". SSL could hook that call as
> HOOK_REALLY_LAST. mod_include would be HOOK_MIDDLE.
> Personally, I think a bunch of stuff vying for HOOK_MIDDLE is rather
> non-deterministic to the page author. A directive to state the ordering is
> necessary:
> <Location /greg>
>   # my PHP pages output SSI code
>   Processors PHP SSI
> </Location>
> <Location /ryan>
>   # my SSI pages yank in PHP chunks
>   Processors SSI PHP
> </Location>
> SSL would probably just insert its layer without regard to the directive.
> Disclaimer: I have no idea/design on how to get to the above directive
> suggestion. Just food for thought...
> Cheers,
> -g
> -- 
> Greg Stein,

Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message