When the worker receives a cache manager query, gives it to Coordinator, and
receives an ACK from Coordinator, the worker should stop handling the
originating transaction without declaring the associated StoreEntry as
complete because doing so triggers store client activity on the client-side
and might cause undesirable output to the now-shared HTTP client socket.
Besides, declaring an empty entry as complete is kind of wrong.
Must(entry != NULL);
requestId = 0;
- EBIT_CLR(entry->flags, ENTRY_FWD_HDR_WAIT);
- entry->complete();
+ // Do not clear ENTRY_FWD_HDR_WAIT or do entry->complete() because
+ // it will trigger our client side processing. Let job cleanup close.
}
/// Mgr::Forwarder::requestTimedOut wrapper