diff options
Diffstat (limited to 'doc/bugs')
3 files changed, 64 insertions, 0 deletions
diff --git a/doc/bugs/Location_change_of_remote_DNS_ignored/comment_2_b097dec73d4965f62c61003ed27e4209._comment b/doc/bugs/Location_change_of_remote_DNS_ignored/comment_2_b097dec73d4965f62c61003ed27e4209._comment new file mode 100644 index 000000000..d099ea804 --- /dev/null +++ b/doc/bugs/Location_change_of_remote_DNS_ignored/comment_2_b097dec73d4965f62c61003ed27e4209._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2015-12-11T15:24:44Z" + content=""" +It seems likely that you didn't stop the assistant. There's no +caching of urls to git remotes; git-annex just uses whatever's there in +.git/config. +"""]] diff --git a/doc/bugs/STANDARD__95__IA_for_S3_remote_not_working/comment_4_4b51c678f5d5cac7e9af026b486d9d9f._comment b/doc/bugs/STANDARD__95__IA_for_S3_remote_not_working/comment_4_4b51c678f5d5cac7e9af026b486d9d9f._comment new file mode 100644 index 000000000..06a18dab4 --- /dev/null +++ b/doc/bugs/STANDARD__95__IA_for_S3_remote_not_working/comment_4_4b51c678f5d5cac7e9af026b486d9d9f._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2015-12-10T15:23:12Z" + content=""" +I've added something to `git annex version` about this today: +"S3(storageclasses)" + +The prebuilt linux builds currently use package versions from Debian +unstable, so we have to wait for the aws package to get updated there. +(I could hand-hack it, but that would make the build break later.) + +The Windows and OSX builds have already been updated; the latter only just +now, so it'll be in the next daily build. Updating the Android build +environment is a massive pain and I try to only do that bi-anually. +"""]] diff --git a/doc/bugs/git-annex_cannot_connect_to_freenet_cloud___40__webdav__41__/comment_2_72e9ecc6acdc555e36f5588120d070fa._comment b/doc/bugs/git-annex_cannot_connect_to_freenet_cloud___40__webdav__41__/comment_2_72e9ecc6acdc555e36f5588120d070fa._comment new file mode 100644 index 000000000..8df1c736d --- /dev/null +++ b/doc/bugs/git-annex_cannot_connect_to_freenet_cloud___40__webdav__41__/comment_2_72e9ecc6acdc555e36f5588120d070fa._comment @@ -0,0 +1,39 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2015-12-11T15:08:30Z" + content=""" +The first failure is git-annex sending MKCOL (make directory basically). +The server fails with "Unauthorized". You say it also made the directory. +That's got to be a bug in the server, no? It can't sanely have an +authorization problem and also go on and do the unathorized action. +(Sounds rather like a security hole..) + +As to the PUT failure, the chunked transfer encoding mentioned in that +comment is a regular part of the HTTP protocol (this is not connected +to git-annex's own chunking). +<https://en.wikipedia.org/wiki/Chunked_transfer_encoding> + +Looks like this PHP webdav server might be delegating the actual HTTP +to whatever web server it's running on somehow. Since chunked transfer +encoding might not be supported by some web server, they are left trying to +detect that. I don't know if their check for that is accurate. + +As to the implementation in git-annex, +Network.Http.Client.RequestBodyStreamChunked is documented to be the only +thing that causes a chunked request body to be sent, and git-annex is using +RequestBodyLBS instead. Unless the documentation is wrong (and I also +looked at the http-client source code and the documentation seems accurate), +I am doubtful that the chunked transfer encoding is actually being used by +git-annex. If eg a protocol dump shows that it is in fact using chunked +transfer encoding (ie, contains "Transfer-Encoding: chunked"), +that would be grounds to file a bug on the http-client library. + +Aah, but.. git-annex is sending an empty file. And the webdav server's +check consists of reading 1 byte. +Of course there's not a byte to read if an empty file is being sent! +So that code you showed is certianly buggy. + +I've changed git-annex to send a non-empty file when testing the webdav +server to work around this. +"""]] |