Add framing to proto, since it isn't built in to protobuf.
This commit is contained in:
@@ -120,6 +120,7 @@ struct serializer *send_get_serializer(char *name) {
|
||||
void send_add(int fd, struct serializer *serializer) {
|
||||
if (!send_hello(fd, serializer)) {
|
||||
fprintf(stderr, "S xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx: Failed to write hello\n");
|
||||
assert(!close(fd));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user