summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-03-24 21:53:01 +0000
committerChris Wilson <chris+github@qwirx.com>2007-03-24 21:53:01 +0000
commit96070af8205f85db802a7aed81979e7f2cf92d29 (patch)
treebd4325bc8509e0119d17c968c3cb6c792f75a81c
parent9a5063929192a9f47cc72420b8b33c85e3ec3627 (diff)
Change named pipe from message to byte mode. Thanks to Charles Lecklider
for pointing this out.
-rw-r--r--lib/server/WinNamedPipeStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/server/WinNamedPipeStream.cpp b/lib/server/WinNamedPipeStream.cpp
index 34263683..7d372517 100644
--- a/lib/server/WinNamedPipeStream.cpp
+++ b/lib/server/WinNamedPipeStream.cpp
@@ -89,8 +89,8 @@ void WinNamedPipeStream::Accept(const wchar_t* pName)
pName, // pipe name
PIPE_ACCESS_DUPLEX | // read/write access
FILE_FLAG_OVERLAPPED, // enabled overlapped I/O
- PIPE_TYPE_MESSAGE | // message type pipe
- PIPE_READMODE_MESSAGE | // message-read mode
+ PIPE_TYPE_BYTE | // message type pipe
+ PIPE_READMODE_BYTE | // message-read mode
PIPE_WAIT, // blocking mode
1, // max. instances
4096, // output buffer size