]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
wrong default port for https
authorwessels <>
Tue, 18 Aug 1998 05:49:56 +0000 (05:49 +0000)
committerwessels <>
Tue, 18 Aug 1998 05:49:56 +0000 (05:49 +0000)
src/url.cc

index 929533a4d69814f49e34d824d27bbb0c3b7f08b5..6c5a5f0dc6e51fd4ef299bfc15611b3419fdd15c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: url.cc,v 1.104 1998/08/10 19:37:51 wessels Exp $
+ * $Id: url.cc,v 1.105 1998/08/17 23:49:56 wessels Exp $
  *
  * DEBUG: section 23    URL Parsing
  * AUTHOR: Duane Wessels
@@ -166,8 +166,9 @@ urlDefaultPort(protocol_t p)
 {
     switch (p) {
     case PROTO_HTTP:
-    case PROTO_HTTPS:
        return 80;
+    case PROTO_HTTPS:
+       return 443;
     case PROTO_FTP:
        return 21;
     case PROTO_GOPHER: