Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

error in PipeServer::disconnect when opened in read mode. #11

Open
svark opened this issue Dec 23, 2019 · 0 comments
Open

error in PipeServer::disconnect when opened in read mode. #11

svark opened this issue Dec 23, 2019 · 0 comments

Comments

@svark
Copy link

svark commented Dec 23, 2019

pipeserver when opened in read only mode fails to disconnect because of the call to FlushFileBuffers failing with Access denied. .

333 let mut result = unsafe { FlushFileBuffers(handle.value) };

similar error can happen in drop.
As per msdn:

The file handle must have the GENERIC_WRITE access right.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant