Skip to content

Windows specific io_handle - #18738

Merged
ggreenway merged 14 commits into
envoyproxy:mainfrom
davinci26:iohandleCleanup
Nov 2, 2021
Merged

ggreenway merged 14 commits into
envoyproxy:mainfrom
davinci26:iohandleCleanup

Conversation

@davinci26

@davinci26 davinci26 commented Oct 24, 2021 •

Copy link
Copy Markdown
Member

Commit Message: In preparation for #18305, I split the implementation of io_socket_handle on different platforms to make the code more readable and separated. The new Windows class leverages the common implementation and now is responsible for registering the events.

This will allow us to cleanly implement MSG_PEEK by read in a consequent PR in a self-contained way.

Additional Description:

Risk Level: Low (null-op)
Testing: Unit tests
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: Windows only uses a different class for io_handle

Signed-off-by: Sotiris Nanopoulos [email protected]

Signed-off-by: Sotiris Nanopoulos <[email protected]>
@davinci26 davinci26 changed the title break up windows io_handle Windows specific io_handle Oct 24, 2021
@davinci26 davinci26 changed the title Windows specific io_handle Windows specific io_handle Oct 24, 2021
Signed-off-by: Sotiris Nanopoulos <[email protected]>
Sotiris Nanopoulos added 5 commits October 25, 2021 08:27
Signed-off-by: Sotiris Nanopoulos <[email protected]>
Signed-off-by: Sotiris Nanopoulos <[email protected]>
Signed-off-by: Sotiris Nanopoulos <[email protected]>
Signed-off-by: Sotiris Nanopoulos <[email protected]>
Signed-off-by: Sotiris Nanopoulos <[email protected]>
@davinci26

Copy link
Copy Markdown
Member Author

I expect this to require dropping the coverage by a bit but, with the new tests on linux it shouldnt be by a significant margin.

Sotiris Nanopoulos added 2 commits October 25, 2021 16:04
Signed-off-by: Sotiris Nanopoulos <[email protected]>
@davinci26

Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only

Copy link
Copy Markdown

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

🐱

Caused by: a #18738 (comment) was created by @davinci26.

see: more, trace.

@davinci26

Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only

Copy link
Copy Markdown

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

🐱

Caused by: a #18738 (comment) was created by @davinci26.

see: more, trace.

Sotiris Nanopoulos added 2 commits October 26, 2021 14:02
Signed-off-by: Sotiris Nanopoulos <[email protected]>
@davinci26

Copy link
Copy Markdown
Member Author

@soulxu @mattklein123 @thhous-msft @anrossi do you want to take this review?

@mattklein123 mattklein123 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks LGTM at a high level with a few comments.

/wait

Comment thread test/common/buffer/owned_impl_test.cc Resolved
Sotiris Nanopoulos added 2 commits November 1, 2021 08:51
Signed-off-by: Sotiris Nanopoulos <[email protected]>
Signed-off-by: Sotiris Nanopoulos <[email protected]>

@mattklein123 mattklein123 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice, thanks!

@davinci26

Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only

Copy link
Copy Markdown

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

🐱

Caused by: a #18738 (comment) was created by @davinci26.

see: more, trace.

@davinci26

Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only

Copy link
Copy Markdown

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

🐱

Caused by: a #18738 (comment) was created by @davinci26.

see: more, trace.

@soulxu

soulxu commented Nov 2, 2021

Copy link
Copy Markdown
Member

LGTM, thanks for helping on this again!

@ggreenway
ggreenway merged commit 91098ba into envoyproxy:main Nov 2, 2021
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.

7 participants