in openlitespeed 1.0.4, if I select to "Hide full header" in the server signature setting, i get this warning in the log file:
[WARN] [config:server:basic] invalid value of <showVersionNumber>:2, use default=0
since it is opensource, you can look at the code and figure out.
in src/main/httpserverbuilder.cpp line 3858
int sv = getLongValue( pRoot, "showVersionNumber", 0, 1, 0 );
int sv = getLongValue( pRoot, "showVersionNumber", 0, 2, 0 );
Your fix doesn't hide the server header: sv is passed to HttpServerVersion::hideDetail but hideDetail only check if is 0 or not 0.
I've made a patch that should give the correct behaviour (as per tip in the configuration interface about the meaning of showVersionNumber).
|All times are GMT -7. The time now is 06:38 AM.|