Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix chunked data bug in embedded version of WsgiDAV (affects big files, as well as all files from some dav clients) #79

Open
wants to merge 29 commits into
base: master
Choose a base branch
from

Conversation

aleqx
Copy link

@aleqx aleqx commented Jan 25, 2024

Fixes: haiwen/seafile#2723 (comment)

Description: The currently embedded version of WsgiDAV is 4.1.0 which has a bug for chunked data. This PR fixes the problem for the embedded WsgiDAV. This is an instant drop-in replacement, so it's instant to incorporate. Upgrading WsgiDAV to 4.3.0 (which does fix the bug) may braek compatibility with the existing Seafile integration so devs may need more time before making that upgrade.

caixiangyue and others added 29 commits December 24, 2022 15:03
* support range

* copy SeafileStream to seafdav and add lock for block_map

* Fixed SeafileStream
* handle error

* remove redundant code
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
* Use sha1 algorithm to validate sercret

* Don't need to filter value

* Get option_val from options_useroptions

Co-authored-by: yangheran <heran.yang@seafile.com>
check if file number exceeds limit when upload file
Lower SGI layer already decoded the chunks. The fix was taken from mar10/wsgidav@dd3e53a
@imwhatiam imwhatiam force-pushed the master branch 2 times, most recently from b4332f9 to 057a88a Compare March 7, 2024 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERROR : PUT: byte copy failed -- Upload of MOV files via WebDAV not possible.
6 participants