Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3552401
D4085.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
623 B
Referenced Files
None
Subscribers
None
D4085.diff
View Options
diff --git a/services/backup/src/Reactors/server/AddAttachmentReactor.cpp b/services/backup/src/Reactors/server/AddAttachmentReactor.cpp
--- a/services/backup/src/Reactors/server/AddAttachmentReactor.cpp
+++ b/services/backup/src/Reactors/server/AddAttachmentReactor.cpp
@@ -62,6 +62,12 @@
return nullptr;
};
case State::DATA_HASH: {
+ if (!request.has_datahash()) {
+ throw std::runtime_error("data hash expected but not received");
+ }
+ this->hash = request.datahash();
+ this->state = State::DATA_CHUNK;
+ return nullptr;
};
case State::DATA_CHUNK: {
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 8:07 PM (7 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2719180
Default Alt Text
D4085.diff (623 B)
Attached To
Mode
D4085: [services] Backup - Add Attachment Reactor - data hash section
Attached
Detach File
Event Timeline
Log In to Comment