Page MenuHomePhabricator

D3612.id11134.diff
No OneTemporary

D3612.id11134.diff

diff --git a/services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h b/services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h
--- a/services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h
+++ b/services/backup/docker-server/contents/server/src/Reactors/server/SendLogReactor.h
@@ -44,6 +44,14 @@
this->state = State::LOG_CHUNK;
return nullptr;
};
+ case State::LOG_CHUNK: {
+ if (!request.has_logdata()) {
+ throw std::runtime_error("log data expected but not received");
+ }
+ std::string chunk = request.logdata();
+ std::cout << "log data received " << chunk << std::endl;
+ return nullptr;
+ };
}
throw std::runtime_error("send log - invalid state");
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 2:50 PM (17 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576460
Default Alt Text
D3612.id11134.diff (804 B)

Event Timeline