diff --git a/src/proxy/http/HttpSM.cc b/src/proxy/http/HttpSM.cc index a54cc7cccc7..46c50b20dcc 100644 --- a/src/proxy/http/HttpSM.cc +++ b/src/proxy/http/HttpSM.cc @@ -6460,6 +6460,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; } @@ -6518,6 +6519,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