go-zeromq / zmq4

[WIP] Pure-Go implementation of ZeroMQ-4
BSD 3-Clause "New" or "Revised" License
340 stars 56 forks source link

New connReaper go routine started on every Connect/Listen #101

Open guidog opened 3 years ago

guidog commented 3 years ago

Hi!

A new connReaper go routine is started on every call to Connect/Listen in socket.go.

connReaper loops for the lifetime of the socket, so one instance is enough.

I'd classify that as a bug.

Cheers Guido

sbinet commented 3 years ago

you're right.