allow empty messages in gRPC on windows

pull/1333/head
Jan Tattermusch 10 years ago
parent 7907509b80
commit a836705b78
  1. 1
      src/core/iomgr/tcp_windows.c

@ -266,7 +266,6 @@ static grpc_endpoint_write_status win_write(grpc_endpoint *ep,
WSABUF *buffers = local_buffers; WSABUF *buffers = local_buffers;
GPR_ASSERT(nslices != 0); GPR_ASSERT(nslices != 0);
GPR_ASSERT(GPR_SLICE_LENGTH(slices[0]) != 0);
GPR_ASSERT(!tcp->outstanding_write); GPR_ASSERT(!tcp->outstanding_write);
tcp_ref(tcp); tcp_ref(tcp);

Loading…
Cancel
Save