Index: squid/src/forward.c diff -c squid/src/forward.c:1.82.2.1 squid/src/forward.c:1.82.2.2 *** squid/src/forward.c:1.82.2.1 Mon Apr 1 05:51:27 2002 --- squid/src/forward.c Wed Feb 5 17:06:00 2003 *************** *** 128,133 **** --- 128,135 ---- static int fwdCheckRetry(FwdState * fwdState) { + if (shutting_down) + return 0; if (fwdState->entry->store_status != STORE_PENDING) return 0; if (fwdState->entry->mem_obj->inmem_hi> 0) *************** *** 172,180 **** } /* use eventAdd to break potential call sequence loops */ eventAdd("fwdConnectStart", fwdConnectStart, fwdState, 0.0, 0); ! } else { ! fwdStateFree(fwdState); } } static void --- 174,186 ---- } /* use eventAdd to break potential call sequence loops */ eventAdd("fwdConnectStart", fwdConnectStart, fwdState, 0.0, 0); ! return; ! } ! if (!fwdState->err && shutting_down) { ! fwdState->err = errorCon(ERR_SHUTTING_DOWN, HTTP_SERVICE_UNAVAILABLE); ! fwdState->err->request = requestLink(fwdState->request); } + fwdStateFree(fwdState); } static void

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