Index: squid/src/client_side.c diff -c squid/src/client_side.c:1.561.2.42 squid/src/client_side.c:1.561.2.43 *** squid/src/client_side.c:1.561.2.42 Thu Aug 28 16:00:18 2003 --- squid/src/client_side.c Sun Aug 31 03:33:32 2003 *************** *** 245,250 **** --- 245,251 ---- http->redirect_state = REDIRECT_PENDING; redirectStart(http, clientRedirectDone, http); } else { + int require_auth = (answer == ACCESS_REQ_PROXY_AUTH || aclIsProxyAuth(AclMatchedName)); debug(33, 5) ("Access Denied: %s\n", http->uri); debug(33, 5) ("AclMatchedName = %s\n", AclMatchedName ? AclMatchedName : ""); *************** *** 260,266 **** http->log_type = LOG_TCP_DENIED; http->entry = clientCreateStoreEntry(http, http->request->method, null_request_flags); ! if (answer == ACCESS_REQ_PROXY_AUTH || aclIsProxyAuth(AclMatchedName)) { if (!http->flags.accel) { /* Proxy authorisation needed */ status = HTTP_PROXY_AUTHENTICATION_REQUIRED; --- 261,267 ---- http->log_type = LOG_TCP_DENIED; http->entry = clientCreateStoreEntry(http, http->request->method, null_request_flags); ! if (require_auth) { if (!http->flags.accel) { /* Proxy authorisation needed */ status = HTTP_PROXY_AUTHENTICATION_REQUIRED;

AltStyle によって変換されたページ (->オリジナル) /