aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-04-21 15:45:23 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-04-21 15:45:23 -0700
commita836705b78976e762bc09d4ac92b04d46e7c73df (patch)
treec9764169a52594c1e6c495566778db5cbc343905
parent7907509b80c5aae09ea9e8e0a140716c3981ee2f (diff)
allow empty messages in gRPC on windows
-rw-r--r--src/core/iomgr/tcp_windows.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/iomgr/tcp_windows.c b/src/core/iomgr/tcp_windows.c
index ec5496e7ee..ce76ccad8c 100644
--- a/src/core/iomgr/tcp_windows.c
+++ b/src/core/iomgr/tcp_windows.c
@@ -266,7 +266,6 @@ static grpc_endpoint_write_status win_write(grpc_endpoint *ep,
WSABUF *buffers = local_buffers;
GPR_ASSERT(nslices != 0);
- GPR_ASSERT(GPR_SLICE_LENGTH(slices[0]) != 0);
GPR_ASSERT(!tcp->outstanding_write);
tcp_ref(tcp);