Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1214

When sending data more than 6048 bytes, the readNextChunk() function is called only once in BlobWriter.sendBlob()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 1.2.0
    • None
    • guacamole-client
    • None

    Description

      Because I need to investigate the solution of the copy/paste of an image, I modified some code related to the clipboard.

      When I click the guacamole client page after copy the image, the ManagedClient.setClipboard() function is called to send the blob of the image to the guacamole server.

      When the size of data to be sent is more than 6048 bytes, the readNextChunk() function is called only once in BlobWriter.sendBlob().

      Because arrayBufferWriter.onack() isn't called.

      So, only the 6048 bytes are sent in the whole data.

       

      I think that to directly call readNextChunk() after call of arrayBufferWriter.sendData() in chunkLoadComplete() of BlockWriter.js may be a solution.

       

      Please help.

      Thanks.
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            MyJimmy Jimmy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: