[SQU] applying the path for FTP_ICONS_NOT FOUND

From: Beukers, W.J. <WBeukers@dont-contact.us>
Date: Tue, 5 Dec 2000 13:14:51 +0100

Hello outhere,
 
I have installed Squid 2.3 Stable4 and are now facing the problem that the
icons with FTP are not visible. I have read a number of mails about this and
found that there is a patch for this problem (see below). So, it seems I
have to patch squid......but HOW do I patch squid ? I look for the file
store.c but could not find it....is there a document about applying patches
to squid ?
 
regards
Wiljoh Beukers

FTP Icon files are not found

platforms All
versions 2.3.STABLE4
synopsis cache.log shows messages like:

2000/07/20 09:49:19| internalStart: unknown request:
GET /squid-internal-static/icons/anthony-tar.gif HTTP/1.0

There was a change in 2.3.STABLE4 that was supposed to cause FTP icons and
other "internal" objects to always be cached, regardless of the
'minimum_object_size' setting. Instead it always caused them to NOT be
cached.

reported by Reuben Farrelly (reuben-squid at reub dot net)
Ulrich Seidl (uis at Regent dot E-Technik dot TU-Muenchen dot DE)
Krzysztof Czuma (czuma at Elektron dot pl)
patch squid-2.3.stable4-ftp_icon_not_found.patch
<http://www.squid-cache.org/Versions/v2/2.3/bugs/squid-2.3.stable4-ftp_icon_
not_found.patch>
status Fixed
 Index: src/store.c
===================================================================
RCS file: /server/cvs-server/squid/squid/src/store.c,v
retrieving revision 1.505.2.22
retrieving revision 1.505.2.23
diff -c -r1.505.2.22 -r1.505.2.23
*** src/store.c 2000/07/18 02:19:40 1.505.2.22
--- src/store.c 2000/07/20 15:54:29 1.505.2.23
***************
*** 527,533 ****
  {
      MemObject *mem = e->mem_obj;
      if (EBIT_TEST(e->flags, ENTRY_SPECIAL))
! return 1;
      if (STORE_OK == e->store_status)
  if (mem->object_sz < Config.Store.minObjectSize)
      return 1;
--- 527,533 ----
  {
      MemObject *mem = e->mem_obj;
      if (EBIT_TEST(e->flags, ENTRY_SPECIAL))
! return 0;
      if (STORE_OK == e->store_status)
  if (mem->object_sz < Config.Store.minObjectSize)
      return 1;

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Dec 05 2000 - 05:19:35 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:51 MST