You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Immediately open and then close a client handle so that the named pipe is
// created but not currently accepting connections.
h2, err := createFile(path, 0, 0, nil, syscall.OPEN_EXISTING, cSECURITY_SQOS_PRESENT|cSECURITY_ANONYMOUS, 0)
The text was updated successfully, but these errors were encountered:
I think this code was intended to ensure that an instance of the pipe exists, so that you won't see ERROR_FILE_NOT_FOUND. But I think its probably misguided, and that a better approach would be to actually have the listener keep a named pipe instance in standby. I'll be working on code to do just that shortly.
Hi,
could someone explain why this is there?
https://github.com/Microsoft/go-winio/blob/master/pipe.go#L337-L339
The text was updated successfully, but these errors were encountered: