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

Fixing watermark preconditions #1509

Merged
merged 2 commits into from
Aug 22, 2017
Merged

Conversation

alyssawilk
Copy link
Contributor

This fixes a bug in my implementation of #150 where we were passing connection-level flow control blockage to new client side streams but not new server side streams.

@htuch @PiotrSikora this should unblock our internal merge.

mattklein123
mattklein123 previously approved these changes Aug 22, 2017
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

@alyssawilk per off-line convo, do you mind opening an issue on what kinds of tests we would need to add so that we could have caught this with our own integration tests?

// When the server stream is created it should check the status of the
// underlying connection. Pretend it is overrun.
EXPECT_CALL(server_connection_, aboveHighWatermark()).WillOnce(Return(true));
EXPECT_CALL(server_stream_callbacks2, onAboveWriteBufferHighWatermark()).Times(1);
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Times(1) is redundant.

htuch
htuch previously approved these changes Aug 22, 2017
@alyssawilk alyssawilk dismissed stale reviews from htuch and mattklein123 via 2f0687b August 22, 2017 16:19
@htuch htuch merged commit 23b2809 into envoyproxy:master Aug 22, 2017
@alyssawilk
Copy link
Contributor Author

alyssawilk commented Aug 22, 2017 via email

@alyssawilk alyssawilk deleted the conn_level branch August 24, 2017 19:15
jpsim pushed a commit that referenced this pull request Nov 28, 2022
* envoy: update and modify new include paths

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
* envoy: update and modify new include paths

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants