add flag to pipe creation to reject remote clients (#782)

This commit is contained in:
Tess Gauthier 2025-04-08 16:55:37 -04:00 committed by GitHub
parent fdde2326f9
commit e0ae79ff3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -121,6 +121,7 @@ agent_listen_loop()
PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED, // read/write access
PIPE_TYPE_BYTE | // message type pipe
PIPE_READMODE_BYTE | // message-read mode
PIPE_REJECT_REMOTE_CLIENTS | // no remote client connections allowed
PIPE_WAIT, // blocking mode
PIPE_UNLIMITED_INSTANCES, // max. instances
BUFSIZE, // output buffer size