Skip to content

backport to 1.15: connection: Remember transport socket read resumption requests and replay them when re-enabling read. (#13772)#14073

Closed
cpakulski wants to merge 2 commits intoenvoyproxy:release/v1.15from
cpakulski:rel1.15/13772
Closed

backport to 1.15: connection: Remember transport socket read resumption requests and replay them when re-enabling read. (#13772)#14073
cpakulski wants to merge 2 commits intoenvoyproxy:release/v1.15from
cpakulski:rel1.15/13772

Conversation

@cpakulski
Copy link
Copy Markdown
Contributor

Commit Message: connection: Remember transport socket read resumption requests and replay them when re-enabling read.
Additional Description: Fixes SslSocket read resumption after readDisable when processing the SSL record that contains the last bytes of the HTTP message
Risk Level: low
Testing: new unit and integration tests
Docs Changes: n/a
Release Notes: added
Platform Specific Features: n/a
Fixes #12304

antoniovicente and others added 2 commits November 17, 2020 18:28
…play them when re-enabling read. (envoyproxy#13772)

Fixes SslSocket read resumption after readDisable when processing the SSL record that contains the last bytes of the HTTP message

Signed-off-by: Antonio Vicente <avd@google.com>

Signed-off-by: antonio <avd@google.com>
Signed-off-by: Christoph Pakulski <christoph@tetrate.io>
Signed-off-by: Christoph Pakulski <christoph@tetrate.io>
@antoniovicente
Copy link
Copy Markdown
Contributor

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #14073 (comment) was created by @antoniovicente.

see: more, trace.

write_end_stream_(false), current_write_end_stream_(false), dispatch_buffered_data_(false) {
// Treat the lack of a valid fd (which in practice only happens if we run out of FDs) as an OOM
// condition and just crash.
RELEASE_ASSERT(SOCKET_VALID(ConnectionImpl::ioHandle().fd()), "");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The removal of this RELEASE_ASSERT is not part of the patch, it's causing test failures.

@@ -0,0 +1,446 @@
#pragma once
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

See if this header is needed. Seems that it isn't used.

@antoniovicente
Copy link
Copy Markdown
Contributor

See #14173

@cpakulski cpakulski closed this Nov 25, 2020
@cpakulski cpakulski deleted the rel1.15/13772 branch December 14, 2020 20:54
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.

2 participants