mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Flush [shared-] file after write it
This commit is contained in:
@@ -234,6 +234,7 @@ bool SharedFiles::write(const std::string& fileName,
|
||||
error->assign("failed to write: " + fileName);
|
||||
ret = false;
|
||||
}
|
||||
fflush(a.second);
|
||||
pthread_mutex_unlock(&a.first->lock);
|
||||
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user