Closed cpicanco closed 6 years ago
Hello,
Sounds strange, I think the socket can be REP, sounds like a bug.
The only difference is the type of the socket, if you put a PULL rather than a REP, than everything is fine?
Yes, a PULL rather than a REP or ROUTER and everything works just fine. The workaround is doing its job.
If anyone is curious about it, please take a look at the full implementation here:
https://github.com/lacs-ufpa/free-mtrix/blob/master/experiment_runner/units/zmq_network.pas
Hi, I am not sure if this question is off-topic. Please, just ignore if it is.
Putting a REP inside a POOL will generate an infinite loop when some REQ arrive. Right now I am guessing it is not a bug, it is just a misuse of the framework (please could you confirm?). For example:
Same is valid for srRouter. The way I found to avoid the infinite loop was to delegate the Pooling to a PULL socket on context 1, and to PUSH socket on context 2. For example:
So, is the infinity loop a bug or not?