From 4135a219c59271fb00327b9a4095937549eb394c Mon Sep 17 00:00:00 2001
From: Stanley Cheung <stanleycheung@google.com>
Date: Fri, 21 Aug 2015 14:36:22 -0700
Subject: [PATCH] php: add comment for why cancel_after_begin cannot be done

---
 src/php/tests/interop/interop_client.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/php/tests/interop/interop_client.php b/src/php/tests/interop/interop_client.php
index ed7b073f8f..bd15ee4303 100755
--- a/src/php/tests/interop/interop_client.php
+++ b/src/php/tests/interop/interop_client.php
@@ -368,6 +368,11 @@ switch ($args['test_case']) {
   case 'jwt_token_creds':
     jwtTokenCreds($stub, $args);
     break;
+  case 'cancel_after_begin':
+    // Currently unimplementable with the current API design
+    // Specifically, in the ClientStreamingCall->start() method, the
+    // messages are sent immediately after metadata is sent. There is
+    // currently no way to cancel before messages are sent.
   default:
     exit(1);
 }
-- 
GitLab