Commit a72f4368 for guacamole.apache.org
commit a72f4368a9a31215160cdfcb6e0a9f523a1f6219
Author: softerist <softerist@users.noreply.github.com>
Date: Sat Nov 28 18:49:21 2026 +0200
GUACAMOLE-2369: Document the return value of guac_user_handle_connection() for a disconnect during the handshake.
guac_user_handle_connection() returns non-zero if the user disconnects
during the handshake, which is not an error. Its documentation now says
so, matching that of __guac_user_handshake().
diff --git a/src/libguac/guacamole/user.h b/src/libguac/guacamole/user.h
index 0ea58951..a11ecb5c 100644
--- a/src/libguac/guacamole/user.h
+++ b/src/libguac/guacamole/user.h
@@ -574,8 +574,9 @@ void guac_user_free(guac_user* user);
*
* @return
* Zero if the user's Guacamole connection was successfully handled and
- * the user has disconnected, or non-zero if an error prevented the user's
- * connection from being handled properly.
+ * the user has disconnected, or non-zero if the user disconnected during
+ * the handshake or an error prevented the user's connection from being
+ * handled properly.
*/
int guac_user_handle_connection(guac_user* user, int usec_timeout);