> Thanks for reviewing the patch. Sadly I noticed and made a stupid mistake. When
> NOSSL is set, but SMALL is not set. It will set scheme = HTTPS_URL for the
> file handler.
> Below is the full updated patch:
I think we don't want to maintain tons of #ifdef combinations, but
applying your diff just made sense after I tried to modify nearby code
and I noticed the inconsistencies.