aboutsummaryrefslogtreecommitdiff
path: root/test/test-tcp-shutdown-after-write.c
diff options
context:
space:
mode:
authorJameson Nash <vtjnash@gmail.com>2023-10-02 15:15:18 +0200
committerGitHub <noreply@github.com>2023-10-02 15:15:18 +0200
commitc03569f0df3bb26e7e7bec9feabd9ae3c372568e (patch)
treea2c4fe43bd9eead474549967e909879ff2490237 /test/test-tcp-shutdown-after-write.c
parent2a4cab70ef0133fe3b06b8844eb4541fbab5f826 (diff)
downloadlibuv-c03569f0df3bb26e7e7bec9feabd9ae3c372568e.tar.gz
libuv-c03569f0df3bb26e7e7bec9feabd9ae3c372568e.zip
win,process: avoid assert after spawning Store app (#4152)
Make sure this handle is functional. The Windows kernel seems to have a bug that if the first use of AssignProcessToJobObject is for a Windows Store program, subsequent attempts to use the handle with fail with INVALID_PARAMETER (87). This is possilby because all uses of the handle must be for the same Terminal Services session. We can ensure it is tied to our current session now by adding ourself to it. We could remove ourself afterwards, but there doesn't seem to be a reason to. Secondly, we start the process suspended so that we can make sure we added it to the job control object before it does anything itself (such as launch more jobs or exit). Fixes: https://github.com/JuliaLang/julia/issues/51461
Diffstat (limited to 'test/test-tcp-shutdown-after-write.c')
0 files changed, 0 insertions, 0 deletions