Fix bug from previous commit.

pull/7611/head
Mark D. Roth 8 years ago
parent 164f0e926d
commit cd5f7ede27
  1. 2
      test/core/end2end/fixtures/http_proxy.c

@ -200,7 +200,7 @@ static void on_client_read_done(grpc_exec_ctx* exec_ctx, void* arg,
// the current write is finished. // the current write is finished.
// //
// Otherwise, move the read data into the write buffer and write it. // Otherwise, move the read data into the write buffer and write it.
if (conn->client_write_buffer.length > 0) { if (conn->server_write_buffer.length > 0) {
gpr_slice_buffer_move_into(&conn->client_read_buffer, gpr_slice_buffer_move_into(&conn->client_read_buffer,
&conn->server_deferred_write_buffer); &conn->server_deferred_write_buffer);
} else { } else {

Loading…
Cancel
Save