diff options
author | Craig Tiller <ctiller@google.com> | 2015-02-12 09:56:02 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-02-12 09:56:02 -0800 |
commit | bc8e3db73eecec79e5592c1e1723f6b69095e84a (patch) | |
tree | b9c1fb08a96cffa17a73ad48d97b9ec1b46675b7 /src | |
parent | 2e70dc18c6776ca50fcc28e7766445f0c34a81c4 (diff) |
Re-add mysteriously disappearing lines
Diffstat (limited to 'src')
-rw-r--r-- | src/cpp/server/server.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpp/server/server.cc b/src/cpp/server/server.cc index ea5d365154..90a2863b0c 100644 --- a/src/cpp/server/server.cc +++ b/src/cpp/server/server.cc @@ -177,6 +177,9 @@ class Server::MethodRequestData final : public CompletionQueueTag { auto status = method_->handler()->RunHandler( MethodHandler::HandlerParameter(&call_, &ctx_, req.get(), res.get())); CallOpBuffer buf; + if (!ctx_.sent_initial_metadata_) { + buf.AddSendInitialMetadata(&ctx_.initial_metadata_); + } if (has_response_payload_) { buf.AddSendMessage(*res); } |