Skip to content
Snippets Groups Projects
Commit bc8e3db7 authored by Craig Tiller's avatar Craig Tiller
Browse files

Re-add mysteriously disappearing lines

parent 2e70dc18
No related branches found
No related tags found
No related merge requests found
...@@ -177,6 +177,9 @@ class Server::MethodRequestData final : public CompletionQueueTag { ...@@ -177,6 +177,9 @@ class Server::MethodRequestData final : public CompletionQueueTag {
auto status = method_->handler()->RunHandler( auto status = method_->handler()->RunHandler(
MethodHandler::HandlerParameter(&call_, &ctx_, req.get(), res.get())); MethodHandler::HandlerParameter(&call_, &ctx_, req.get(), res.get()));
CallOpBuffer buf; CallOpBuffer buf;
if (!ctx_.sent_initial_metadata_) {
buf.AddSendInitialMetadata(&ctx_.initial_metadata_);
}
if (has_response_payload_) { if (has_response_payload_) {
buf.AddSendMessage(*res); buf.AddSendMessage(*res);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment