]> git.ipfire.org Git - thirdparty/squid.git/commit
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
authorrousskov <>
Wed, 1 Aug 2007 10:36:47 +0000 (10:36 +0000)
committerrousskov <>
Wed, 1 Aug 2007 10:36:47 +0000 (10:36 +0000)
commit737e901b9d99f9dcf772c42b4daf56fa7f404077
treec4b45fa68f599b46a485afbf804e259c72a5eedd
parent2d1a172f69c6c0ef96c6ed0078e0ca4f935bb680
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug #1872: Date parsing error causing HTTP objects to get unexpectedly cached
and fresh ICAP OPTIONS rejected.

Applied Henrik's patch from Squid2 patchset #11161. The bug was affecting ICAP
Options TTLs, marking some ICAP services with soon-to-expire options as being
down. Original patch text is below.

An unexpected and undesired sideeffect of the earlier change to accept dates
far in the future was that the date calculations suddenly got daylight savings
sensitive due to mktime() automatically adjusting the supplied date. This has the
unfortunate effect that if Squid is running in a timezone with daylight savings
things may get cached longer than they should.
lib/rfc1123.c