named_pipe
named_pipe copied to clipboard
error in PipeServer::disconnect when opened in read mode.
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.