Home GnuPG

Set ctx->pid even with TCP connection, useful for Windows.

Description

Set ctx->pid even with TCP connection, useful for Windows.

* src/assuan-listen.c (assuan_accept): Use PID to notify client.
* src/assuan-socket-connect.c (_assuan_connect_finalize): Parse
the initial message to extract remote PID.
* src/client.c (_assuan_client_finish): Only call waitpid
when it's not socket.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 13 2022, 9:21 AM
Parents
rAb7d3f7c7740f: Merge branch 'master' into gniibe/t6236
Branches
Unknown
Tags
Unknown