Skip to content

Adds PlatformDefaultTriggerType for FileTriggerType #12584

Merged
mattklein123 merged 5 commits intoenvoyproxy:masterfrom
davinci26:eventTypes
Aug 12, 2020
Merged

Adds PlatformDefaultTriggerType for FileTriggerType #12584
mattklein123 merged 5 commits intoenvoyproxy:masterfrom
davinci26:eventTypes

Conversation

@davinci26
Copy link
Copy Markdown
Member

@davinci26 davinci26 commented Aug 10, 2020

Signed-off-by: Sotiris Nanopoulos sonanopo@microsoft.com

Adds PlatformDefaultTriggerType which is used to create file events. The main motivation for using this is the following:

  1. Easier to swap out between FileTriggerType. This is useful for UNIX devs to debug issues that might affect Windows.
  2. Removes various #ifdefs around the codebase.

With this change, proxy_protocol_test now passes on Windows.

Additional Description:
Risk Level: Low (No-Op, Most of the changes are calculated at compile time
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Sotiris Nanopoulos added 2 commits August 10, 2020 15:49
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
@davinci26
Copy link
Copy Markdown
Member Author

@envoyproxy/windows-dev

Sotiris Nanopoulos added 2 commits August 10, 2020 16:56
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com>
Copy link
Copy Markdown
Member

@lizan lizan left a comment

Choose a reason for hiding this comment

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

Nice clean up!

Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.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.

4 participants