Skip to content

listener: no io_handle for virtual listener - #16259

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

wrowe merged 6 commits into
envoyproxy:mainfrom
lambdai:noiohandleinvirtuallistener

Conversation

@lambdai

@lambdai lambdai commented Apr 30, 2021 •

Copy link
Copy Markdown
Contributor

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 [email protected]

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:]

@lambdai

lambdai commented May 14, 2021

Copy link
Copy Markdown
Contributor Author

/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 <[email protected]>
@lambdai
lambdai marked this pull request as ready for review May 19, 2021 21:07
@wrowe

wrowe commented May 20, 2021

Copy link
Copy Markdown
Contributor

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

lambdai commented May 20, 2021

Copy link
Copy Markdown
Contributor Author

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 <[email protected]>
@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

lambdai commented May 27, 2021

Copy link
Copy Markdown
Contributor Author

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

@wrowe wrowe left a comment

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.

This looks correct to me, thanks!

@wrowe

wrowe commented Jun 3, 2021

Copy link
Copy Markdown
Contributor

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

@lambdai

lambdai commented Jun 3, 2021

Copy link
Copy Markdown
Contributor Author

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

lambdai commented Jun 4, 2021

Copy link
Copy Markdown
Contributor Author

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 <[email protected]>
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