Skip to content

Conversation

@noxiouz
Copy link

@noxiouz noxiouz commented Nov 22, 2016

No description provided.

Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
@ghost
Copy link

ghost commented Nov 22, 2016

Can one of the admins verify this patch?

@jonboulle
Copy link
Contributor

ok to test

@jonboulle
Copy link
Contributor

patch LGTM, thanks!
not sure what's up with travis..

@noxiouz
Copy link
Author

noxiouz commented Nov 22, 2016

I will see
UPDATED: the second listener in the fork remains valid, but the first one returns bad fd on accept.
It does not look like expected behavior according to the golang docs:
https://golang.org/pkg/net/#FileListener
I need time to explore the case

vincentbernat added a commit to vincentbernat/go-systemd that referenced this pull request Feb 27, 2018
This is an adaptation of coreos#215 to ensure tests don't fail and extend
the behaviour to PacketConns(). A bit of test coverage is lost, but
just testing if variable environments are not unset in the simple case
doesn't seem worth adding more code.
vincentbernat added a commit to vincentbernat/go-systemd that referenced this pull request Feb 27, 2018
This is an adaptation of coreos#215 to ensure tests don't fail and extend
the behaviour to PacketConns(). A bit of test coverage is lost, but
just testing if variable environments are not unset in the simple case
doesn't seem worth adding more code.

Fix coreos#215
vincentbernat added a commit to vincentbernat/go-systemd that referenced this pull request Feb 28, 2018
This is an adaptation of coreos#215 to ensure tests don't fail and extend
the behaviour to PacketConns(). A bit of test coverage is lost, but
just testing if variable environments are not unset in the simple case
doesn't seem worth adding more code.

Fix coreos#215
@lucab
Copy link
Contributor

lucab commented Mar 7, 2018

Closing in favor of #250.

@lucab lucab closed this Mar 7, 2018
vincentbernat added a commit to vincentbernat/go-systemd that referenced this pull request Mar 19, 2018
This is an adaptation of coreos#215 to ensure tests don't fail and extend
the behaviour to PacketConns(). A bit of test coverage is lost, but
just testing if variable environments are not unset in the simple case
doesn't seem worth adding more code.

Fix coreos#215
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.

3 participants