-Changes to Squid-2.2 ():
+Changes to Squid-2.2 (April 19, 1999):
- Removed all SNMP specific ACL code
SNMP now uses generic squid ACL's
- Fixed a "F->flags.open" assertion for aborted FTP PUT's.
- Fixed a (double) cast problem that caused statAvgTick()
events to be added as fast as possible.
+ - Changed httpPacked304Reply() to not include the Content-Length
+ header for 304 replies that Squid generates. We used to
+ include the length of the cached object, and this broke
+ persistent connections.
+
+ 2.2.STABLE2:
+
+ - Fixed configure bug for statvfs() checks. Configure reports
+ "test: =: unary operator expected" or similar because an
+ unquoted variable is not defined.
+ - Fixed aclDestroyAcls() assertion because some ACL types
+ are not listed in the switch statement. Occurs for
+ srcdom_regex and dstdom_regex ACL types during reconfigure.
+ - Typo "applicatoin" in src/mime.conf
+ - The unlinkd daemon never saw the USE_TRUNCATE_NOT_UNLINK
+ #define because it didn't include squid.h.
+ - Fixed commRetryFD() when bind() fails. commRetryFD was
+ closing the filedescriptor, but it is the upper layer's
+ job to close it.
+ - Changed configure's "maximum number of filedescriptors"
+ detection to only use getrlimit() for Linux. On AIX,
+ getrlimit returns RLIM_INFINITY.
+ - Fixed snmpInit() nesting bug.
+ - Fixed a bug with peerGetSomeParent(). It was adding
+ a parent to the FwdServers list, regardless of the
+ ps->direct value. This could cause every request to
+ go to a parent even when always_direct is used.
+ - Changed fwdServerClosed() to rotate the "forward servers"
+ list when a connection establishment fails. Otherwise
+ it always kept trying to connect to the first server
+ int the list.
Changes to Squid-2.1 (November 16, 1998):
-# From configure.in Revision: 1.169
+# From configure.in Revision: 1.170
ac_aux_dir=
for ac_dir in cfgaux $srcdir/cfgaux; do
if test -f $ac_dir/install-sh; then
fi
rm -f conftest*
echo "$ac_t""$ac_cv_func_statvfs" 1>&6
-fi
-if test $ac_cv_func_statvfs = "yes" ; then
+if test "$ac_cv_func_statvfs" = "yes" ; then
cat >> confdefs.h <<\EOF
#define HAVE_STATVFS 1
EOF
+fi
fi
echo $ac_n "checking for _res.nsaddr_list""... $ac_c" 1>&6
dnl
dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9)
dnl
-dnl $Id: configure.in,v 1.170 1999/04/21 03:51:55 wessels Exp $
+dnl $Id: configure.in,v 1.171 1999/04/23 02:57:14 wessels Exp $
dnl
dnl
dnl
AC_INIT(src/main.c)
AC_CONFIG_HEADER(include/autoconf.h)
-AC_REVISION($Revision: 1.170 $)dnl
+AC_REVISION($Revision: 1.171 $)dnl
AC_PREFIX_DEFAULT(/usr/local/squid)
AC_CONFIG_AUX_DIR(cfgaux)
ac_cv_func_statvfs=yes,
ac_cv_func_statvfs=no)
AC_MSG_RESULT($ac_cv_func_statvfs)
-fi
-if test $ac_cv_func_statvfs = "yes" ; then
+if test "$ac_cv_func_statvfs" = "yes" ; then
AC_DEFINE(HAVE_STATVFS)
fi
+fi
AC_CACHE_CHECK(for _res.nsaddr_list, ac_cv_have_res_nsaddr_list,
AC_TRY_COMPILE([
/*
- * $Id: safe_inet_addr.c,v 1.8 1998/09/23 17:16:12 wessels Exp $
+ * $Id: safe_inet_addr.c,v 1.9 1999/04/23 02:57:15 wessels Exp $
*/
#include "config.h"
int a1 = 0, a2 = 0, a3 = 0, a4 = 0;
struct in_addr A;
char x;
+#if _SQUID_HPUX_
+ /*
+ * MIYOSHI Tsutomu <mijosxi@ike.tottori-u.ac.jp> says scanning 'buf'
+ * causes a bus error on hppa1.1-hp-hpux9.07, so we
+ * have a broad hack for all HP systems.
+ */
+ static char buftmp[32];
+ snprintf(buftmp, 32, "%s", buf);
+ if (sscanf(buftmp, "%d.%d.%d.%d%c", &a1, &a2, &a3, &a4, &x) != 4)
+#else
if (sscanf(buf, "%d.%d.%d.%d%c", &a1, &a2, &a3, &a4, &x) != 4)
+#endif
return 0;
if (a1 < 0 || a1 > 255)
return 0;
/*
- * $Id: HttpReply.cc,v 1.35 1999/01/22 19:07:00 glenn Exp $
+ * $Id: HttpReply.cc,v 1.36 1999/04/23 02:57:16 wessels Exp $
*
* DEBUG: section 58 HTTP Reply (Response)
* AUTHOR: Alex Rousskov
httpPacked304Reply(const HttpReply * rep)
{
static const http_hdr_type ImsEntries[] =
- {HDR_DATE, HDR_CONTENT_LENGTH, HDR_CONTENT_TYPE, HDR_EXPIRES, HDR_LAST_MODIFIED, /* eof */ HDR_OTHER};
+ {HDR_DATE, HDR_CONTENT_TYPE, HDR_EXPIRES, HDR_LAST_MODIFIED, /* eof */ HDR_OTHER};
int t;
MemBuf mb;
Packer p;
/*
- * $Id: access_log.cc,v 1.49 1999/01/29 18:31:17 wessels Exp $
+ * $Id: access_log.cc,v 1.50 1999/04/23 02:57:16 wessels Exp $
*
* DEBUG: section 46 Access Log
* AUTHOR: Duane Wessels
LogfileFD = file_open(LogfileName, O_WRONLY | O_CREAT, NULL, NULL, NULL);
if (LogfileFD == DISK_ERROR) {
debug(50, 0) ("%s: %s\n", LogfileName, xstrerror());
- fatal("Cannot open logfile.");
+ fatalf("Cannot open %s: %s", LogfileName, xstrerror());
}
LogfileStatus = LOG_ENABLE;
}
if (LogfileFD == DISK_ERROR) {
debug(46, 0) ("accessLogRotate: Cannot open logfile: %s\n", fname);
LogfileStatus = LOG_DISABLE;
- fatal("Cannot open logfile.");
+ fatalf("Cannot open %s: %s", fname, xstrerror());
}
}
/*
- * $Id: acl.cc,v 1.200 1999/04/15 06:15:43 wessels Exp $
+ * $Id: acl.cc,v 1.201 1999/04/23 02:57:17 wessels Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
break;
case ACL_URL_REGEX:
case ACL_URLPATH_REGEX:
+ case ACL_BROWSER:
case ACL_SRC_DOM_REGEX:
case ACL_DST_DOM_REGEX:
aclParseRegexList(&A->data);
case ACL_METHOD:
aclParseMethodList(&A->data);
break;
- case ACL_BROWSER:
- aclParseRegexList(&A->data);
- break;
case ACL_PROXY_AUTH:
aclParseWordList(&A->data);
if (!proxy_auth_cache) {
}
/*
* Clear AclMatchedName from our temporary hack
- */
+ */
AclMatchedName = NULL; /* ugly */
if (!new_acl)
return;
break;
case ACL_URL_REGEX:
case ACL_URLPATH_REGEX:
+ case ACL_BROWSER:
case ACL_SRC_DOM_REGEX:
case ACL_DST_DOM_REGEX:
- case ACL_BROWSER:
aclDestroyRegexList(a->data);
break;
case ACL_PROTO:
case ACL_METHOD:
case ACL_SRC_ASN:
case ACL_DST_ASN:
+ case ACL_NETDB_SRC_RTT:
intlistDestroy((intlist **) & a->data);
break;
case ACL_URL_PORT:
break;
case ACL_NONE:
default:
- assert(0);
+ debug(28,1)("aclDestroyAcls: no case for ACL type %d\n", a->type);
break;
}
safe_free(a->cfgline);
break;
case ACL_SRC_DOMAIN:
case ACL_DST_DOMAIN:
+ return aclDumpDomainList(a->data);
+ break;
#if SQUID_SNMP
case ACL_SNMP_COMMUNITY:
#endif
case ACL_IDENT:
#endif
case ACL_PROXY_AUTH:
- return aclDumpDomainList(a->data);
+ return wordlistDup(a->data);
break;
case ACL_TIME:
return aclDumpTimeSpecList(a->data);
case ACL_URL_REGEX:
case ACL_URLPATH_REGEX:
case ACL_BROWSER:
+ case ACL_SRC_DOM_REGEX:
+ case ACL_DST_DOM_REGEX:
return aclDumpRegexList(a->data);
break;
case ACL_SRC_ASN:
#endif
case ACL_NONE:
default:
+ debug(28, 1) ("aclDumpGeneric: no case for ACL type %d\n", a->type);
break;
}
return NULL;
/*
- * $Id: cache_cf.cc,v 1.326 1999/04/15 06:15:45 wessels Exp $
+ * $Id: cache_cf.cc,v 1.327 1999/04/23 02:57:18 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
}
}
+wordlist *
+wordlistDup(const wordlist * w)
+{
+ wordlist *D = NULL;
+ while (NULL != w) {
+ wordlistAdd(&D, w->key);
+ w = w->next;
+ }
+ return D;
+}
+
void
intlistDestroy(intlist ** list)
{
#
-# $Id: cf.data.pre,v 1.147 1999/04/15 06:15:47 wessels Exp $
+# $Id: cf.data.pre,v 1.148 1999/04/23 02:57:19 wessels Exp $
#
#
# SQUID Internet Object Cache http://squid.nlanr.net/Squid/
------------------
This is the default Squid configuration file. You may wish
- to look at http://cache.is.co.za/squid/ for documentation,
- or the Squid home page (http://squid.nlanr.net/) for the FAQ.
+ to look at the Squid home page (http://squid.nlanr.net/)
+ for the FAQ and other documentation.
The default Squid config file shows what the defaults for
various options happen to be. If you don't need to change the
and from neighbor caches. Default is 4827. To disable use
"0".
+ To enable this option, you must use --enable-htcp with the
+ configure script.
htcp_port 4827
DOC_END
acl ident_aware_hosts src 198.168.1.0/255.255.255.0
ident_lookup_access allow ident_aware_hosts
ident_lookup_access deny all
+
+ This option may be disabled by using --disable-ident with
+ the configure script.
ident_lookup_access deny all
DOC_END
description of Squid's refresh algorithm. Basically a
cached object is: (the order is changed from 1.1.X)
- STALE if age > max
FRESH if expires < now, else STALE
+ STALE if age > max
FRESH if lm-factor < percent, else STALE
FRESH if age < min
else STALE
match, then the default will be used.
Default:
-refresh_pattern . 0 20% 4320
+refresh_pattern ^ftp: 1440 20% 10080
+refresh_pattern ^gopher: 1440 0% 1440
+refresh_pattern . 0 20% 4320
DOC_END
and you enabled 'ident_lookup', then you might be susceptible
to denial-of-service by having many ident requests going at
once.
+
+ This option may be disabled by using --disable-ident with
+ the configure script.
ident_timeout 10 seconds
DOC_END
see also refresh_pattern for a more selective approach.
+ This option may be disabled by using --disable-http-violations
+ with the configure script.
reload_into_ims off
DOC_END
if you have one class 2 delay pool and one class 3 delays pool, you
have a total of 2 delay pools.
+ To enable this option, you must use --enable-delay-pools with the
+ configure script.
delay_pools 0
DOC_END
/*
- * $Id: comm.cc,v 1.299 1999/01/18 22:23:32 wessels Exp $
+ * $Id: comm.cc,v 1.300 1999/04/23 02:57:20 wessels Exp $
*
* DEBUG: section 5 Socket Functions
* AUTHOR: Harvest Derived
commSetCloseOnExec(cs->fd);
if (Config.Addrs.tcp_outgoing.s_addr != no_addr.s_addr) {
if (commBind(cs->fd, Config.Addrs.tcp_outgoing, 0) != COMM_OK) {
- comm_close(cs->fd);
return 0;
}
}
/*
- * $Id: errorpage.cc,v 1.148 1999/01/29 21:01:06 wessels Exp $
+ * $Id: errorpage.cc,v 1.149 1999/04/23 02:57:21 wessels Exp $
*
* DEBUG: section 4 Error Generation
* AUTHOR: Duane Wessels
p = "%";
break;
default:
- p = "%UNKNOWN%";
+ memBufPrintf(&mb, "%%%c", token);
break;
}
if (!p)
/*
- * $Id: forward.cc,v 1.56 1999/04/15 06:15:55 wessels Exp $
+ * $Id: forward.cc,v 1.57 1999/04/23 02:57:22 wessels Exp $
*
* DEBUG: section 17 Request Forwarding
* AUTHOR: Duane Wessels
debug(17, 3) ("fwdServerClosed: re-forwarding (%d tries, %d secs)\n",
fwdState->n_tries,
(int) (squid_curtime - fwdState->start));
+ if (fwdState->servers->next) {
+ /* cycle */
+ FwdServer *fs = fwdState->servers;
+ FwdServer **T;
+ fwdState->servers = fs->next;
+ for (T = &fwdState->servers; *T; T = &(*T)->next);
+ *T = fs;
+ fs->next = NULL;
+ }
/* use eventAdd to break potential call sequence loops */
eventAdd("fwdConnectStart", fwdConnectStart, fwdState, 0.0, 1);
} else {
/*
- * $Id: ftp.cc,v 1.281 1999/04/15 06:15:56 wessels Exp $
+ * $Id: ftp.cc,v 1.282 1999/04/23 02:57:23 wessels Exp $
*
* DEBUG: section 9 File Transfer Protocol (FTP)
* AUTHOR: Harvest Derived
ftpState->ctrl.fd = fd;
ftpState->data.fd = -1;
ftpState->size = -1;
+ ftpState->mdtm = -1;
ftpState->flags.pasv_supported = 1;
ftpState->flags.rest_supported = 1;
ftpState->fwd = fwd;
/*
- * $Id: main.cc,v 1.294 1999/04/19 05:00:19 wessels Exp $
+ * $Id: main.cc,v 1.295 1999/04/23 02:57:24 wessels Exp $
+ * $Id: main.cc,v 1.295 1999/04/23 02:57:24 wessels Exp $
*
* DEBUG: section 1 Startup and Main Loop
* AUTHOR: Harvest Derived
/*
- * $Id: mime.cc,v 1.85 1999/04/15 06:16:01 wessels Exp $
+ * $Id: mime.cc,v 1.86 1999/04/23 02:57:25 wessels Exp $
+ * $Id: mime.cc,v 1.86 1999/04/23 02:57:25 wessels Exp $
*
* DEBUG: section 25 MIME Parsing
* AUTHOR: Harvest Derived
/*
- * $Id: neighbors.cc,v 1.271 1999/04/15 06:16:03 wessels Exp $
+ * $Id: neighbors.cc,v 1.272 1999/04/23 02:57:26 wessels Exp $
+ * $Id: neighbors.cc,v 1.272 1999/04/23 02:57:26 wessels Exp $
*
* DEBUG: section 15 Neighbor Routines
* AUTHOR: Harvest Derived
/*
- * $Id: net_db.cc,v 1.137 1999/04/15 06:16:04 wessels Exp $
+ * $Id: net_db.cc,v 1.138 1999/04/23 02:57:27 wessels Exp $
+ * $Id: net_db.cc,v 1.138 1999/04/23 02:57:27 wessels Exp $
*
* DEBUG: section 38 Network Measurement Database
* AUTHOR: Duane Wessels
/*
- * $Id: peer_select.cc,v 1.98 1999/01/29 23:01:07 wessels Exp $
+ * $Id: peer_select.cc,v 1.99 1999/04/23 02:57:28 wessels Exp $
*
* DEBUG: section 44 Peer Selection Algorithm
* AUTHOR: Duane Wessels
debug(44, 3) ("peerGetSomeParent: %s %s\n",
RequestMethodStr[request->method],
request->host);
+ if (ps->direct == DIRECT_YES)
+ return;
if ((p = getDefaultParent(request))) {
code = DEFAULT_PARENT;
} else if ((p = getRoundRobinParent(request))) {
/*
- * $Id: pinger.cc,v 1.40 1999/04/15 06:16:05 wessels Exp $
+ * $Id: pinger.cc,v 1.41 1999/04/23 02:57:28 wessels Exp $
+ * $Id: pinger.cc,v 1.41 1999/04/23 02:57:28 wessels Exp $
*
* DEBUG: section 42 ICMP Pinger program
* AUTHOR: Duane Wessels
/*
- * $Id: protos.h,v 1.320 1999/04/19 05:01:24 wessels Exp $
+ * $Id: protos.h,v 1.321 1999/04/23 02:57:29 wessels Exp $
+ * $Id: protos.h,v 1.321 1999/04/23 02:57:29 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
extern void intlistDestroy(intlist **);
extern int intlistFind(intlist * list, int i);
extern wordlist *wordlistAdd(wordlist **, const char *);
+extern wordlist *wordlistDup(const wordlist *);
extern void wordlistDestroy(wordlist **);
extern void configFreeMemory(void);
extern void wordlistCat(const wordlist *, MemBuf * mb);
extern const cache_key *storeKeyScan(const char *);
extern const char *storeKeyText(const cache_key *);
extern const cache_key *storeKeyPublic(const char *, const method_t);
-extern const cache_key *storeKeyPublicOld(const char *, const method_t);
extern const cache_key *storeKeyPrivate(const char *, method_t, int);
extern int storeKeyHashBuckets(int);
extern int storeKeyNull(const cache_key *);
/*
- * $Id: snmp_agent.cc,v 1.66 1999/04/15 06:16:07 wessels Exp $
+ * $Id: snmp_agent.cc,v 1.67 1999/04/23 02:57:31 wessels Exp $
+ * $Id: snmp_agent.cc,v 1.67 1999/04/23 02:57:31 wessels Exp $
*
* DEBUG: section 49 SNMP Interface
* AUTHOR: Kostas Anagnostakis
/*
- * $Id: squid.h,v 1.187 1999/04/15 06:16:09 wessels Exp $
+ * $Id: squid.h,v 1.188 1999/04/23 02:57:32 wessels Exp $
+ * $Id: squid.h,v 1.188 1999/04/23 02:57:32 wessels Exp $
*
* AUTHOR: Duane Wessels
*
/*
- * $Id: ssl.cc,v 1.93 1999/04/15 06:16:09 wessels Exp $
+ * $Id: ssl.cc,v 1.94 1999/04/23 02:57:33 wessels Exp $
+ * $Id: ssl.cc,v 1.94 1999/04/23 02:57:33 wessels Exp $
*
* DEBUG: section 26 Secure Sockets Layer Proxy
* AUTHOR: Duane Wessels
/*
- * $Id: stat.cc,v 1.313 1999/04/16 01:00:52 wessels Exp $
+ * $Id: stat.cc,v 1.314 1999/04/23 02:57:34 wessels Exp $
+ * $Id: stat.cc,v 1.314 1999/04/23 02:57:34 wessels Exp $
*
* DEBUG: section 18 Cache Manager Statistics
* AUTHOR: Harvest Derived
/*
- * $Id: store.cc,v 1.489 1999/04/08 07:16:41 wessels Exp $
+ * $Id: store.cc,v 1.490 1999/04/23 02:57:36 wessels Exp $
+ * $Id: store.cc,v 1.490 1999/04/23 02:57:36 wessels Exp $
*
* DEBUG: section 20 Storage Manager
* AUTHOR: Harvest Derived
StoreEntry *
storeGetPublic(const char *uri, const method_t method)
{
- StoreEntry *e = storeGet(storeKeyPublic(uri, method));
- if (e == NULL && squid_curtime < 922500000)
- e = storeGet(storeKeyPublicOld(uri, method));
- return e;
+ return storeGet(storeKeyPublic(uri, method));
}
static int
/*
- * $Id: store_client.cc,v 1.62 1999/04/15 06:16:11 wessels Exp $
+ * $Id: store_client.cc,v 1.63 1999/04/23 02:57:37 wessels Exp $
+ * $Id: store_client.cc,v 1.63 1999/04/23 02:57:37 wessels Exp $
*
* DEBUG: section 20 Storage Manager Client-Side Interface
* AUTHOR: Duane Wessels
#if DELAY_POOLS
delayRegisterDelayIdPtr(&sc->delay_id);
#endif
+#if DELAY_POOLS
+ sc->delay_id = 0;
+ delayRegisterDelayIdPtr(&sc->delay_id);
+#endif
}
static void
/*
- * $Id: store_dir.cc,v 1.85 1999/04/15 06:16:12 wessels Exp $
+ * $Id: store_dir.cc,v 1.86 1999/04/23 02:57:37 wessels Exp $
+ * $Id: store_dir.cc,v 1.86 1999/04/23 02:57:37 wessels Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
/*
- * $Id: store_key_md5.cc,v 1.20 1999/01/19 02:24:33 wessels Exp $
+ * $Id: store_key_md5.cc,v 1.21 1999/04/23 02:57:38 wessels Exp $
*
* DEBUG: section 20 Storage Manager MD5 Cache Keys
* AUTHOR: Duane Wessels
return digest;
}
-/*
- * Compatibility transition period. Remove this after Mar 26, 1998
- */
-const cache_key *
-storeKeyPublicOld(const char *url, const method_t method)
-{
- static cache_key digest[MD5_DIGEST_CHARS];
- MD5_CTX M;
- MD5Init(&M);
- MD5Update(&M, (unsigned char *) &method, sizeof(method));
- MD5Update(&M, (unsigned char *) url, strlen(url));
- MD5Final(digest, &M);
- return digest;
-}
-
const cache_key *
storeKeyPublic(const char *url, const method_t method)
{
/*
- * $Id: structs.h,v 1.282 1999/04/19 04:45:07 wessels Exp $
+ * $Id: structs.h,v 1.283 1999/04/23 02:57:39 wessels Exp $
+ * $Id: structs.h,v 1.283 1999/04/23 02:57:39 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
/*
- * $Id: tools.cc,v 1.175 1999/04/15 06:03:09 wessels Exp $
+ * $Id: tools.cc,v 1.176 1999/04/23 02:57:40 wessels Exp $
+ * $Id: tools.cc,v 1.176 1999/04/23 02:57:40 wessels Exp $
*
* DEBUG: section 21 Misc Functions
* AUTHOR: Harvest Derived
return r->ru_maxrss;
#elif defined(BSD4_4)
return r->ru_maxrss;
-#elif HAVE_GETPAGESIZE
+#elif defined(HAVE_GETPAGESIZE) && HAVE_GETPAGESIZE != 0
return (r->ru_maxrss * getpagesize()) >> 10;
#elif defined(PAGESIZE)
return (r->ru_maxrss * PAGESIZE) >> 10;
fatal_common(const char *message)
{
#if HAVE_SYSLOG
- if (opt_syslog_enable)
- syslog(LOG_ALERT, "%s", message);
+ syslog(LOG_ALERT, "%s", message);
#endif
fprintf(debug_log, "FATAL: %s\n", message);
if (opt_debug_stderr && debug_log != stderr)
/*
- * $Id: tunnel.cc,v 1.93 1999/04/15 06:16:09 wessels Exp $
+ * $Id: tunnel.cc,v 1.94 1999/04/23 02:57:33 wessels Exp $
+ * $Id: tunnel.cc,v 1.94 1999/04/23 02:57:33 wessels Exp $
*
* DEBUG: section 26 Secure Sockets Layer Proxy
* AUTHOR: Duane Wessels
/*
- * $Id: unlinkd.cc,v 1.29 1998/12/02 05:07:26 wessels Exp $
+ * $Id: unlinkd.cc,v 1.30 1999/04/23 02:57:40 wessels Exp $
*
* DEBUG: section 12 Unlink Daemon
* AUTHOR: Duane Wessels
*
*/
+#include "squid.h"
+
#ifdef UNLINK_DAEMON
/* This is the external unlinkd process */
-#include "config.h"
-
-#if HAVE_LIBC_H
-#include <libc.h>
-#endif
-#if HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#if HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-#if HAVE_STDIO_H
-#include <stdio.h>
-#endif
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
#define UNLINK_BUF_LEN 1024
int
/* This code gets linked to Squid */
-#include "squid.h"
-
#if USE_UNLINKD
static int unlinkd_wfd = -1;
static int unlinkd_rfd = -1;
/*
- * $Id: url.cc,v 1.114 1999/04/15 06:16:13 wessels Exp $
+ * $Id: url.cc,v 1.115 1999/04/23 02:57:41 wessels Exp $
+ * $Id: url.cc,v 1.115 1999/04/23 02:57:41 wessels Exp $
*
* DEBUG: section 23 URL Parsing
* AUTHOR: Duane Wessels
/*
*
- * $Id: urn.cc,v 1.53 1999/04/15 06:16:14 wessels Exp $
+ * $Id: urn.cc,v 1.54 1999/04/23 02:57:42 wessels Exp $
+ * $Id: urn.cc,v 1.54 1999/04/23 02:57:42 wessels Exp $
*
* DEBUG: section 52 URN Parsing
* AUTHOR: Kostas Anagnostakis