summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-13 15:09:52 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-13 15:26:56 -0400
commit7cad5617eec4328888929dca553cd7f131d4441a (patch)
tree010ad0cf538be9d25c48382b31b6de2ee0c51d3d /doc/todo
parentd5563ace55321012e291d1f5ae86e3d34ef52901 (diff)
work around box.com webdav rename bug
Apparently box.com renaming is just buggy. I tried a couple of fixes: * In case the http Manager was opening multiple connections and reaching different backend servers, I tried limiting the number of connections to 1. Didn't help. * To make sure it was not a http connection reuse problem, I tried rewriting how exportAction works, so that the same http connection is clearly open. Didn't help. So, disable renaming of exports for box.com. It would be good to test it with some other webdav server. This commit was sponsored by John Peloquin on Patreon.
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/export.mdwn12
1 files changed, 3 insertions, 9 deletions
diff --git a/doc/todo/export.mdwn b/doc/todo/export.mdwn
index 45fc56995..efa8b1c38 100644
--- a/doc/todo/export.mdwn
+++ b/doc/todo/export.mdwn
@@ -40,12 +40,6 @@ Low priority:
Run each pair in turn. Then run the current rename code. Although this
still probably misses cases, where eg, content cycles amoung 3 files, and
the same content amoung 3 other files. Is there a general algorythm?
-* Exporting to box.com via webdav, a rename of a file behaves
- oddly. The rename to the temp file succeeds, but the rename of the temp
- file to the final name fails.
- Also, sometimes the delete of the temp file that's done as a fallback
- fails to actually delete it.
- Hypothesis: Those are done in separate http connections and it might be
- talking to two different backend servers that are out of sync.
- So, making export cache connections might help. Update: No, caching
- connections did not solve it.
+* webdav: When a file in a subdirectory gets deleted,
+ the webdav collection is remains, empty. Need to check if collection is
+ empty, and delete otherwise.