Skip to content

listener: no io_handle for virtual listener#16259

Merged
wrowe merged 6 commits intoenvoyproxy:mainfrom
lambdai:noiohandleinvirtuallistener
Jun 4, 2021
Merged

listener: no io_handle for virtual listener#16259
wrowe merged 6 commits intoenvoyproxy:mainfrom
lambdai:noiohandleinvirtuallistener

Conversation

@lambdai
Copy link
Copy Markdown
Contributor

@lambdai lambdai commented Apr 30, 2021

The io handle for tcp listener is to drive the accepted connection by event poller.

If the tcp listener doesn't bind to port, the io handle is not required.

Signed-off-by: Yuchen Dai silentdai@gmail.com

Commit Message:
Additional Description:
Risk Level: LOW
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
fix #16258
[Optional Deprecated:]
[Optional API Considerations:]

Signed-off-by: Yuchen Dai <silentdai@gmail.com>
lambdai added 2 commits May 6, 2021 16:01
Signed-off-by: Yuchen Dai <silentdai@gmail.com>
Signed-off-by: Yuchen Dai <silentdai@gmail.com>
@lambdai
Copy link
Copy Markdown
Contributor Author

lambdai commented May 14, 2021

/retest

@repokitteh-read-only
Copy link
Copy Markdown

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

🐱

Caused by: a #16259 (comment) was created by @lambdai.

see: more, trace.

Signed-off-by: Yuchen Dai <silentdai@gmail.com>
@lambdai lambdai marked this pull request as ready for review May 19, 2021 21:07
@wrowe
Copy link
Copy Markdown
Contributor

wrowe commented May 20, 2021

This seems to be an experimental PR, would you tag this is as draft till it's ready for review?

@wrowe wrowe added the waiting label May 20, 2021
@lambdai
Copy link
Copy Markdown
Contributor Author

lambdai commented May 20, 2021

This seems to be an experimental PR, would you tag this is as draft till it's ready for review?

I think the product code is ready since it doesn't break any.
I guess I need add more tests cases to explain what is improved.

lambdai added 2 commits May 26, 2021 16:43
Signed-off-by: Yuchen Dai <silentdai@gmail.com>
@lambdai lambdai changed the title PoC listener: experimenting no io_handle for virtual listener listener: experimenting no io_handle for virtual listener May 27, 2021
@lambdai
Copy link
Copy Markdown
Contributor Author

lambdai commented May 27, 2021

@wrowe This PR is ready to review. Could you take a look? Thanks!

Copy link
Copy Markdown
Contributor

@wrowe wrowe left a comment

Choose a reason for hiding this comment

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

This looks correct to me, thanks!

@wrowe
Copy link
Copy Markdown
Contributor

wrowe commented Jun 3, 2021

Can you update the description to correspond to the final commit message you want, @lambdai, it still reads like a draft.

@lambdai
Copy link
Copy Markdown
Contributor Author

lambdai commented Jun 3, 2021

Can you update the description to correspond to the final commit message you want, @lambdai, it still reads like a draft.

Updated. Thanks!

@lambdai lambdai changed the title listener: experimenting no io_handle for virtual listener listener: no io_handle for virtual listener Jun 3, 2021
@wrowe wrowe merged commit 5e5e3c2 into envoyproxy:main Jun 4, 2021
@lambdai lambdai deleted the noiohandleinvirtuallistener branch June 4, 2021 03:44
@lambdai
Copy link
Copy Markdown
Contributor Author

lambdai commented Jun 4, 2021

Thank you!

leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
The io handle for tcp listener is to drive the accepted connection by event poller.

If the tcp listener doesn't bind to port, the io handle is not required.

Signed-off-by: Yuchen Dai <silentdai@gmail.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.

virtual listener should not assign listen socket

2 participants