mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
kbx,w32: Disable the fd-passing.
* kbx/kbxserver.c (kbxd_start_command_handler): No fd-passing udner Windows. -- file descriptor passing does not work reliable in libassuan for Windows and we actually don't need it here. It is not even used by gpg or gpgsm. As soon as we enable fd-passing in gpgme for Windows and see that it is robust enough we should back out this patch.
This commit is contained in:
parent
c30d5829c9
commit
6944aefa3c
@ -946,9 +946,15 @@ kbxd_start_command_handler (ctrl_t ctrl, gnupg_fd_t fd, unsigned int session_id)
|
||||
}
|
||||
else
|
||||
{
|
||||
/* The fd-passing does not work reliable on Windows, and even it
|
||||
* it is not used by gpg and gpgsm the current libassuan slows
|
||||
* down things if it is allowed for the server.*/
|
||||
rc = assuan_init_socket_server (ctx, fd,
|
||||
(ASSUAN_SOCKET_SERVER_ACCEPTED
|
||||
|ASSUAN_SOCKET_SERVER_FDPASSING));
|
||||
#ifndef HAVE_W32_SYSTEM
|
||||
|ASSUAN_SOCKET_SERVER_FDPASSING
|
||||
#endif
|
||||
));
|
||||
}
|
||||
|
||||
if (rc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user