Skip to content

tls: fix stray dispatcher exit in ssl_socket_test - #46904

Merged
agrawroh merged 1 commit into
envoyproxy:mainfrom
botengyao:ssl-test-loop-exit
Aug 25, 2026
Merged

tls: fix stray dispatcher exit in ssl_socket_test#46904
agrawroh merged 1 commit into
envoyproxy:mainfrom
botengyao:ssl-test-loop-exit

Conversation

@botengyao

Copy link
Copy Markdown
Member

singleWriteTest exited the dispatcher on the drain from closeSocket(), arming a loop exit while no loop ran and ending disconnect()'s run before the server saw the close. Also drain the read buffer so the server is not left permanently read disabled.

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

singleWriteTest exited the dispatcher on the drain from closeSocket(),
arming a loop exit while no loop ran and ending disconnect()'s run before
the server saw the close. Also drain the read buffer so the server is not
left permanently read disabled.

Signed-off-by: Boteng Yao <botengyao@gmail.com>
@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #46904 was opened by botengyao.

see: more, trace.

@botengyao
botengyao marked this pull request as ready for review August 24, 2026 19:11
@agrawroh
agrawroh merged commit 810f5e4 into envoyproxy:main Aug 25, 2026
28 checks passed
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