From: wessels <> Date: Sat, 14 Sep 1996 05:20:49 +0000 (+0000) Subject: - Fixed UDP_HIT_OBJ objects ignoring 'proxy-only' setting. X-Git-Tag: SQUID_3_0_PRE1~5805 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2c73d4cf29905f1bfee4acb73b9a071ed16fee1;p=thirdparty%2Fsquid.git - Fixed UDP_HIT_OBJ objects ignoring 'proxy-only' setting. --- diff --git a/src/neighbors.cc b/src/neighbors.cc index 69650dc9ba..5d966a9644 100644 --- a/src/neighbors.cc +++ b/src/neighbors.cc @@ -1,5 +1,5 @@ /* - * $Id: neighbors.cc,v 1.49 1996/09/13 23:16:40 wessels Exp $ + * $Id: neighbors.cc,v 1.50 1996/09/13 23:20:49 wessels Exp $ * * DEBUG: section 15 Neighbor Routines * AUTHOR: Harvest Derived @@ -612,6 +612,8 @@ void neighborsUdpAck(fd, url, header, from, entry, data, data_sz) } else if (entry->object_len != 0) { debug(15, 1, "Too late UDP_HIT_OBJ '%s'?\n", entry->url); } else { + if (e->options & NEIGHBOR_PROXY_ONLY) + storeReleaseRequest(entry); protoCancelTimeout(0, entry); entry->ping_status = PING_DONE; httpState = xcalloc(1, sizeof(HttpStateData));