Properly reset incoming buffer

pull/3025/head
Craig Tiller 10 years ago
parent 69b2afe770
commit 70964fca29
  1. 1
      src/core/iomgr/tcp_windows.c

@ -219,6 +219,7 @@ static grpc_endpoint_op_status win_read(grpc_endpoint *ep,
tcp->socket->read_info.outstanding = 1;
tcp->read_cb = cb;
tcp->read_slices = read_slices;
gpr_slice_buffer_reset_and_unref(read_slices);
tcp->read_slice = gpr_slice_malloc(8192);

Loading…
Cancel
Save