[
https://issues.apache.org/jira/browse/GUACAMOLE-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17277395#comment-17277395
]
Mike Jumper commented on GUACAMOLE-1276:
----------------------------------------
[~qq296015668], none of this will have anything to do with MySQL, but thanks
for the details.
It looks like changes from GUACAMOLE-764 were accidentally partially reverted
during conflict resolution for GUACAMOLE-249. File uploads previously
(incorrectly) used 32-bit offsets, resulting in file truncation at ~4 GB. This
was supposed to have been corrected with GUACAMOLE-764:
https://github.com/apache/guacamole-server/pull/223/files#diff-f5fd7fdc2c1331b32ab1899613971f13dd00be3e048e3dcdaeddc584e3d91b23R60
But that switch from {{int}} to {{uint64_t}} was effectively undone via
GUACAMOLE-249:
https://github.com/mike-jumper/guacamole-server/blob/53f981f864475763f64d608ca1dfea7c7e094472/src/protocols/rdp/upload.h#L36-L40
> The upload file size in the rdp protocol exceeds 4GB and cannot be uploaded
> successfully
> ----------------------------------------------------------------------------------------
>
> Key: GUACAMOLE-1276
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1276
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole
> Affects Versions: 1.2.0, 1.3.0
> Environment: CentOS 7 / Debian 10
> Docker
> Reporter: wuxiaobai
> Priority: Major
>
> This problem exists regardless of whether it is installed natively or
> deployed using Docker.
> I seem to have seen the same problem before, but I can’t find it now.
>
> *Problem Description:*
> Upload any file larger than 4GB, and after reaching the 4GB file in guacamole
> shared disk inside the file transfer can not continue
--
This message was sent by Atlassian Jira
(v8.3.4#803005)