Skip to content
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

Stops listening on UDP port after getting invalid json #1

Closed
elecnix opened this issue Nov 9, 2016 · 3 comments
Closed

Stops listening on UDP port after getting invalid json #1

elecnix opened this issue Nov 9, 2016 · 3 comments

Comments

@elecnix
Copy link

elecnix commented Nov 9, 2016

This will cause prompush to return from the listenUDP function, causing it to close serverConn:

echo "hello" | nc --udp localhost -p 9090

logs:

2016/11/09 17:20:37 udp.go:36: Error: invalid character 'h' looking for beginning of value

then a second nc prints:

Ncat: Connection refused.

@samwierema
Copy link
Contributor

Thanks for opening an issue @elecnix! I've asked a colleague to confirm the issue and hopefully we can patch it a.s.a.p.

@samwierema
Copy link
Contributor

The issue should be resolved with the latest release @elecnix. Let us know if you find the same to be true!

@elecnix
Copy link
Author

elecnix commented Nov 10, 2016

Thanks!

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

No branches or pull requests

2 participants