Skip to content

DEALER/ROUTER proxies: when worker (server) closes, it keeps trying to send to that disconnected server. #216

@guilherme-ds-matos

Description

@guilherme-ds-matos

Hello all,
When implementing a simple Request-Reply service following the zeromq book, I noticed that when disconnecting a worker (the one with the RepSocket) , the DEALER keeps on trying to send to that disconnected worker, causing a broken pipe panic on the broker when clients send requests again (which hang when it reaches the "turn" of that disconnected worker). Has this been fixed since the last release? Is this just now being detected? What can I do to help? To reproduce, you may use the examples:

  • message_broker - broker
  • message_client - client
  • message_server - server/worker

Instructions to reproduce:

  • start broker;
  • connect 2 servers;
  • connect client;
  • works;
  • disconnect 1 server (crtl + c);
  • connect client;
  • it hangs;
  • broker panics;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions