-/* $Id: cache_cf.cc,v 1.42 1996/04/15 23:02:25 wessels Exp $ */
+/* $Id: cache_cf.cc,v 1.43 1996/04/16 01:51:17 wessels Exp $ */
/* DEBUG: Section 3 cache_cf: Configuration file parsing */
intlist snews =
{
563,
- NULL,
+ NULL
};
intlist https =
{
443,
- &snews,
+ &snews
};
intlist *connect_port_list = &https;
-/* $Id: url.cc,v 1.15 1996/04/15 23:02:28 wessels Exp $ */
+/* $Id: url.cc,v 1.16 1996/04/16 01:51:20 wessels Exp $ */
/*
* DEBUG: Section 23 url
"ftp",
"wais",
"cache_object",
+#ifdef NEED_PROTO_CONNECT
+ "connect",
+#endif
"TOTAL"
};
return PROTO_CACHEOBJ;
if (strncasecmp(s, "file", 4) == 0)
return PROTO_FTP;
+#ifdef NEED_PROTO_CONNECT
if (strncasecmp(s, "connect", 7) == 0)
return PROTO_CONNECT;
+#endif
return PROTO_NONE;
}
return 70;
case PROTO_CACHEOBJ:
return CACHE_HTTP_PORT;
+#ifdef NEED_PROTO_CONNECT
+ case PROTO_CONNECT:
+ return 443;
+#endif
default:
return 0;
}