]> git.ipfire.org Git - thirdparty/squid.git/commit
Not all time-based options should accept milliseconds
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 18 Mar 2011 22:09:08 +0000 (00:09 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 18 Mar 2011 22:09:08 +0000 (00:09 +0200)
commit9b741834e24c94a65f3770517a4c48f84737f256
tree275ce8a5a38b01e045c11da3400e1882251abbc7
parent1f4d1d483a855d85f49004667f95395e4e4fa32a
Not all time-based options should accept milliseconds

After last changes, squid  accepts "millisecond" units for all time-based
options, silently rounding millisecond-based values down if they are not
supported. We should not allow millisecond units for options that do not
support millisecond.
This patch add the allowMsec parameter to parseTimeLine function to allow/deny
the use of milliseconds.
src/cache_cf.cc