From 645cf7d8fc25615fd6d2cb027fad8f3dadffb09d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 14 May 2025 10:34:46 +0200 Subject: 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: 73f6c2dd4d3e5b58faf69821726988ae984fad89. --- agent/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'agent/command.c') diff --git a/agent/command.c b/agent/command.c index ff018dde7..88c5576fb 100644 --- a/agent/command.c +++ b/agent/command.c @@ -4400,7 +4400,7 @@ register_commands (assuan_context_t ctx) /* Startup the server. If LISTEN_FD and FD is given as -1, this is a - simple pipe server, otherwise it is a regular server. CTRL is the + simple piper server, otherwise it is a regular server. CTRL is the control structure for this connection; it has only the basic initialization. */ void -- cgit v1.2.3