diff options
author | number201724 <number201724@me.com> | 2022-10-21 21:14:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 09:14:48 -0400 |
commit | 357d28a256bfe11d9a4a9b2cf4f28d97b42ba68d (patch) | |
tree | 1bafcdf699043b283c8d1498619de0432392e5c8 /docs/src | |
parent | 1de43a1a171c2df65988fdc2fdd8e2c1fcb93536 (diff) | |
download | libuv-357d28a256bfe11d9a4a9b2cf4f28d97b42ba68d.tar.gz libuv-357d28a256bfe11d9a4a9b2cf4f28d97b42ba68d.zip |
win,pipe: improve method of obtaining pid for ipc (#3765)
In the old version of uv_pipe_open, the parent process ID is used
always. If the open pipe is used in the same process, the parent
process will be obtained incorrectly.
Now we first get the client pid and compare it with its own pid. If it
is the same, then get the server pid. If the two are the same, then the
pipe is from the same process.
Fixes: https://github.com/libuv/libuv/issues/3766
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions