tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David N. Welton)
Subject Re: cvs commit: tcl-websh/src/generic url.c url.h
Date Fri, 23 Nov 2001 18:32:36 GMT

How about this:

by default, urlData->scheme is not filled in, leaving it as a config
option, which does fill it in.

At 'runtime' (when cmdurl is run), it then either fills it in with 1)
the config option (takes precedence) 2) https, if that's found amongst
the environmental variables, or 3) the default.

A bit more calculation each time around, but it does keep the code
simpler in other places, and makes the calculation at the correct time
for mod_websh (which it wasn't for my original code).

Sound ok?
David N. Welton
Free Software:
   Apache Tcl:

View raw message