Skip to content

Commit

Permalink
Set dav capabilities to nil for v1 chunking
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 committed Nov 26, 2020
1 parent 800b2b2 commit 35cc9a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func setCapabilitiesForChunkProtocol(cp chunkProtocol, c *data.CapabilitiesData)
case chunkV1:
// 2.7+ will use Chunking V1 if "capabilities > files > bigfilechunking" is "true" AND "capabilities > dav > chunking" is not there
c.Capabilities.Files.BigFileChunking = true
c.Capabilities.Dav.Chunking = ""
c.Capabilities.Dav = nil
c.Capabilities.Files.TusSupport = nil

case chunkNG:
Expand Down

0 comments on commit 35cc9a1

Please sign in to comment.