Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1876: Use sensible buffer sizes for Windows named pipes r=dcoutts a=dcoutts When creating a Windows named pipe one has to specify the buffer sizes. Previously we were specifying the maximum size, however this is unwise: The MSDN docs say: > The input and output buffer sizes are advisory. The actual buffer size reserved for each end of the named pipe is either the system default, the system minimum or maximum, or the specified size rounded up to the next allocation boundary. The buffer size specified should be small enough that your process will not run out of nonpaged pool, but large enough to accommodate typical requests. So this changes the values to 64k outbound and 16k inbound. Co-authored-by: Duncan Coutts <[email protected]>
- Loading branch information