I just check the local port:
c-local_addr-port == 443 - HTTPS
c-local_addr-port == 80 - HTTP
It should work for most implementations.
Well the ports can be configured, e.g. in my development environment I
let Apache listen on 8000 resp. 8443. The scheme detection should work
for all
I implemented something very similar for my module: Dynamic
configuration data is retrieved from a remote server and should be
shared among all worker processes. Fortunately the configuration
changes only sporadically so I implemented it using
serialization/deserialization to/from the shared
Then this thread is of interest to me too. :) There is always room to
improve.
On Fri, Jul 22, 2011 at 4:34 AM, Ignaz Birnstingl ign...@gmail.com wrote:
I just check the local port:
c-local_addr-port == 443 - HTTPS
c-local_addr-port == 80 - HTTP
It should work for most
During which hook is it not set? Had anyone bothered to grep the code to see
where it's supposed to be set?
Jason Funk jasonlf...@gmail.com wrote:
Then this thread is of interest to me too. :) There is always room to
improve.
On Fri, Jul 22, 2011 at 4:34 AM, Ignaz Birnstingl ign...@gmail.com