From: wessels <> Date: Tue, 22 Sep 1998 02:53:37 +0000 (+0000) Subject: don't call peerSelect() for URNs X-Git-Tag: SQUID_3_0_PRE1~2676 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae0b47252dd55d0407b0e4288604cf7de227a084;p=thirdparty%2Fsquid.git don't call peerSelect() for URNs --- diff --git a/src/forward.cc b/src/forward.cc index 952a9da50a..304394f255 100644 --- a/src/forward.cc +++ b/src/forward.cc @@ -1,6 +1,6 @@ /* - * $Id: forward.cc,v 1.28 1998/09/19 17:06:01 wessels Exp $ + * $Id: forward.cc,v 1.29 1998/09/21 20:53:37 wessels Exp $ * * DEBUG: section 17 Request Forwarding * AUTHOR: Duane Wessels @@ -290,10 +290,8 @@ fwdDispatch(FwdState * fwdState) break; case PROTO_CACHEOBJ: case PROTO_INTERNAL: - fatal_dump("Should never get here"); - break; case PROTO_URN: - urnStart(request, entry); + fatal_dump("Should never get here"); break; case PROTO_WHOIS: whoisStart(fwdState, fwdState->server_fd); @@ -352,6 +350,9 @@ fwdStart(int fd, StoreEntry * e, request_t * r, struct in_addr peer_addr) case PROTO_CACHEOBJ: cachemgrStart(fd, r, e); return; + case PROTO_URN: + urnStart(r, e); + return; default: break; }