mike-jumper opened a new pull request #231: GUACAMOLE-629: Allow "argv" 
instructions to be sent from server to client.
URL: https://github.com/apache/guacamole-server/pull/231
 
 
   This change adds a new function, `guac_protocol_send_argv()`, allowing 
server-side code to stream argument values to the client. Convenience functions 
have also been added to make this easier:
   
   * `guac_protocol_send_blobs()` - Automatically splits provided data into a 
series of `blob` instructions which will not exceed the maximum instruction 
length.
   * `guac_client_stream_argv()` and `guac_user_stream_argv()` - Immediately 
send the given data as an `argv` stream and subsequent `blob` and `end` 
instructions, without handling `ack`.
   
   To satisfy the requirements of `guac_protocol_send_blobs()`, I've also added 
a new constant, `GUAC_PROTOCOL_BLOB_MAX_LENGTH`, which represents a safe 
maximum blob size, and refactored existing code accordingly. Part of that 
refactor involved the creation of `protocol-constants.h` to house constants 
defined for `protocol.h`, as per existing convention (see other headers).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to