> 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 configurations.

-- Ignaz

Reply via email to