mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Revert "w32: On socket nonce mismatch close the socket."
--
The commit was entirely bogus because the check_nonce function closes
the socket itself if it returns with true. Thus closing the socket by
the caller in the true case was bogus.
The more likely cause for the hangs on Windows are in scdaemon:
* scd: Fix posssible lockup on Windows due to a lost select
result. [rGa7ec3792c5]
GnuPG-bug-id: 7434
Fixes-commit: 73f6c2dd4d
.
This commit is contained in:
parent
40cfa71281
commit
645cf7d8fc
4 changed files with 11 additions and 19 deletions
|
@ -2272,8 +2272,7 @@ start_connection_thread (void *arg)
|
|||
|
||||
if (check_nonce (fd, &socket_nonce))
|
||||
{
|
||||
log_error ("handler for fd %d FAILED nonce check\n", FD_DBG (fd));
|
||||
assuan_sock_close (fd);
|
||||
log_error ("handler nonce check FAILED\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue