- the patch is repacked at 2005-04-18 00:57, after maintainer submit PR 80028
- diff is listed below:
--- /tmp/squid-2.5.STABLE9-2GB.patch Mon Apr 4 17:09:16 2005
+++ /usr/ports/distfiles/squid2.5/squid-2.5.STABLE9-2GB.patch Mon Apr 18 08:57:57 2005
@@ -3000,7 +3000,7 @@
}
/* there are some things we cannot do yet */
Index: squid/src/protos.h
-diff -c squid/src/protos.h:1.420.2.28 squid/src/protos.h:1.420.2.32
+diff -c squid/src/protos.h:1.420.2.28 squid/src/protos.h:1.420.2.30
*** squid/src/protos.h:1.420.2.28 Fri Mar 18 17:01:52 2005
--- squid/src/protos.h Sat Mar 26 10:36:01 2005
***************
@@ -3455,9 +3455,9 @@
+
#endif /* SQUID_H */
Index: squid/src/ssl.c
-diff -c squid/src/ssl.c:1.118.2.9 squid/src/ssl.c:1.118.2.10
+diff -c squid/src/ssl.c:1.118.2.9 squid/src/ssl.c:1.118.2.11
*** squid/src/ssl.c:1.118.2.9 Mon Mar 21 12:39:29 2005
---- squid/src/ssl.c Fri Mar 25 19:50:53 2005
+--- squid/src/ssl.c Sun Apr 17 18:54:30 2005
***************
*** 46,52 ****
int len;
@@ -3482,7 +3482,7 @@
kb_incr(&statCounter.server.all.kbytes_out, len);
kb_incr(&statCounter.server.other.kbytes_out, len);
+ /* increment total object size */
-+ if (sslState->size_ptr)
++ if (sslState->size_ptr && sslState->client.fd != -1)
+ #if SIZEOF_SQUID_OFF_T <= 4
+ if (*sslState->size_ptr < 0x7FFF0000)
+ #endif
Noticed by: many people ...