Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix double delete #6354

Merged
merged 2 commits into from
Apr 29, 2016
Merged

Fix double delete #6354

merged 2 commits into from
Apr 29, 2016

Conversation

ctiller
Copy link
Member

@ctiller ctiller commented Apr 28, 2016

Fixes #6350

@@ -83,11 +83,15 @@ static void me_write(grpc_exec_ctx *exec_ctx, grpc_endpoint *ep,
if (m->parent->shutdown) {
ok = false;
} else if (m->on_read != NULL) {
gpr_slice_buffer_addn(m->on_read_out, slices->slices, slices->count);
for (size_t i = 0; i < slices->count; i++) {
gpr_slice_buffer_add(&m->read_buffer, gpr_slice_ref(slices->slices[i]));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the buffer has changed from m->on_read_out to m->read_buffer. Is this intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not... let me fix

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@dgquintas
Copy link
Contributor

h2_full+trace_test.exe high_initial_seqno is failing on windows. It seems a related issue (#5872) was closed yesterday though...

@dgquintas
Copy link
Contributor

That failure seems unrelated though. Labelling for merge.

@jtattermusch jtattermusch merged commit 91cda8f into grpc:master Apr 29, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 27, 2019
@lock lock bot unassigned dgquintas Jan 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants