aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/lib/Grpc/AbstractCall.php
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-04-01 11:14:16 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-04-01 11:14:16 -0700
commitd8cc6b8e7273cae65d1433ba695a5fd9816925ba (patch)
tree4d21cda9bed75af9ac6b961b66ae378714bc8580 /src/php/lib/Grpc/AbstractCall.php
parent954177c9ef6b96cc1a7f9f758501836a0eb53569 (diff)
Do not expect metadata until expecting first read
Diffstat (limited to 'src/php/lib/Grpc/AbstractCall.php')
-rw-r--r--src/php/lib/Grpc/AbstractCall.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/php/lib/Grpc/AbstractCall.php b/src/php/lib/Grpc/AbstractCall.php
index d81df97067..413d5966e1 100644
--- a/src/php/lib/Grpc/AbstractCall.php
+++ b/src/php/lib/Grpc/AbstractCall.php
@@ -47,6 +47,7 @@ abstract class AbstractCall {
public function __construct(Channel $channel, $method, $deserialize) {
$this->call = new Call($channel, $method, Timeval::inf_future());
$this->deserialize = $deserialize;
+ $this->metadata = null;
}
/**