I'm trying to increase the buffer size for sending the blobs through the
websocket, but I'm failing to do

I've configured the tunnel to have bigger size (I'm trying to multiply by 3
the size of these vars)

Java backend that instantiates the tunnel
    session.setMaxBinaryMessageBufferSize(24576);
    session.setMaxTextMessageBufferSize(24576);

without previous modification, if I send a big blob, the tunnel gets
disconnected immediately

and also modified src code of guacd to change some parameters

#define GUAC_PROTOCOL_BLOB_MAX_LENGTH 18144
#define GUAC_INSTRUCTION_MAX_LENGTH 24576

and in the frontend (angular), I send slices of

const STREAM_BLOB_SIZE = 18144;

When I drop a file in the UI I can see the file request for the tunnel,
then the ack with the stream begin message, then the UI uploads the first
slice of the data but the ACK from guacd nevers cames in
and there is not any error in the guacd logs (even in debug mode)

Any advice, please

Best regards
On 2022/06/13 14:50:24 "Frco. Javier Rial" wrote:
> Hi all:
>
> I want to ask you how do you deal with uploading files to the remote
> machine?
>
> I mean, I've developed my custom guacamole application, and using the
> guacamole client functions to upload files through the websocket
> (blobwriter/reader and sending blob, waiting for acks and so on).
>
> But the upload speed is super slow.
>
> Any advice or other alternative methods that can be used ??
>
> I really like the option to upload them through the websocket because this
> way I only have a dependency related with the websocket for all kind of
> communication  with the remove server.
>

Reply via email to