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

server uses the same net.listener for http server and jocko tcp server? #60

Closed
smallnest opened this issue Oct 16, 2017 · 1 comment
Closed

Comments

@smallnest
Copy link

https://github.com/travisjeffery/jocko/blob/master/server/server.go#L88-110

It looks jocko and http server use the same net.Listener and that means there are two goroutines to do s.ln.Accept(). Maybe some sent kafka messages have been handled by http server and it thinks them are wrong requests?

@travisjeffery
Copy link
Owner

travisjeffery commented Oct 16, 2017

Thanks @smallnest ! Fixed in #62

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