diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc index c0ba82641e1..a7a0144542e 100644 --- a/proxy/http/HttpSM.cc +++ b/proxy/http/HttpSM.cc @@ -6286,6 +6286,7 @@ HttpSM::perform_cache_write_action() // Write close deletes the old alternate cache_sm.close_write(); cache_sm.close_read(); + t_state.cache_info.write_lock_state = HttpTransact::CACHE_WL_INIT; break; } @@ -6344,6 +6345,7 @@ HttpSM::issue_cache_update() } // Now close the write which commits the update cache_sm.close_write(); + t_state.cache_info.write_lock_state = HttpTransact::CACHE_WL_INIT; } int