-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
statsd: add support for Windows Pipes #182
Conversation
This change adds support for Windows Named Pipes. They may be used when this option is [enabled in the Datadog Agent](DataDog/datadog-agent#6830).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we also update the comment line 370 of statsd/statsd.go ?
Other than this an the few comments it looks ready to go.
Co-authored-by: Lucas Pimentel-Ordyna <[email protected]>
} | ||
|
||
func newWindowsPipeWriter(pipepath string) (*pipeWriter, error) { | ||
conn, err := winio.DialPipe(pipepath, nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if the connexion is temporary lost between the client and the server?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved in #185
This change adds support for Windows Named Pipes. They may be used when
this option is enabled in the Datadog Agent.