Changed ETag calculation to SHA256
authorpkanavos <pkanavos@gmail.com>
Tue, 4 Sep 2012 15:29:38 +0000 (18:29 +0300)
committerpkanavos <pkanavos@gmail.com>
Tue, 4 Sep 2012 16:00:04 +0000 (19:00 +0300)
commitb1303755f22b9c3dbef06084bd6fd02e2432c47f
treee54bad897b0f238cbd6ebcc56f387025358f206d
parent12c87c0e02ffe63876483ac5542434e61fec3ec6
Changed ETag calculation to SHA256
ETag not posted on directory uploads, to avoid 422 errors
Etag posted in other cases, even if the server ignores it
Merkle block hashes are now stored in the database
Hash calculations first check the state database for existing valid hashes, to avoid recalculating the Merkle hash for unchanged files
15 files changed:
trunk/Pithos.Client.WPF/app.config
trunk/Pithos.Core.Test/MockStatusKeeper.cs
trunk/Pithos.Core/Agents/BlockExtensions.cs
trunk/Pithos.Core/Agents/CloudTransferAction.cs
trunk/Pithos.Core/Agents/Downloader.cs
trunk/Pithos.Core/Agents/FileAgent.cs
trunk/Pithos.Core/Agents/PollAgent.cs
trunk/Pithos.Core/Agents/StatusAgent.cs
trunk/Pithos.Core/Agents/Uploader.cs
trunk/Pithos.Core/FileState.cs
trunk/Pithos.Core/IStatusKeeper.cs
trunk/Pithos.Interfaces/ObjectInfo.cs
trunk/Pithos.Network/CloudFilesClient.cs
trunk/Pithos.Network/Signature.cs
trunk/Pithos.Network/TreeHash.cs