GUACAMOLE-422: More substantial comment for protocol version; NULL out timezone at beginning of handshake.
This commit is contained in:
parent
98cb7ccf67
commit
ab12b2aa8e
@ -38,7 +38,18 @@
|
||||
#include <cairo/cairo.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
/* The protocol version */
|
||||
/**
|
||||
* This defines the overall protocol version that this build of libguac
|
||||
* supports. The protocol version is used to provide compatibility between
|
||||
* potentially different versions of Guacamole server and clients. The
|
||||
* version number is a MAJOR_MINOR_PATCH version that matches the versioning
|
||||
* used throughout the components of the Guacamole project. This version
|
||||
* will not necessarily increment with the other components, unless additional
|
||||
* functionality is introduced that affects compatibility.
|
||||
*
|
||||
* This version is passed by the __guac_protocol_send_args() function from the
|
||||
* server to the client during the client/server handshake.
|
||||
*/
|
||||
#define GUACAMOLE_PROTOCOL_VERSION "VERSION_1_1_0"
|
||||
|
||||
/* CONTROL INSTRUCTIONS */
|
||||
|
@ -238,6 +238,7 @@ int guac_user_handle_connection(guac_user* user, int usec_timeout) {
|
||||
user->info.audio_mimetypes = NULL;
|
||||
user->info.image_mimetypes = NULL;
|
||||
user->info.video_mimetypes = NULL;
|
||||
user->info.timezone = NULL;
|
||||
|
||||
/* Send args */
|
||||
if (guac_protocol_send_args(socket, client->args)
|
||||
|
Loading…
Reference in New Issue
Block a user