PUB socket doesn't re-connect to bound SUB (fix)

Description

When binding a SUB socket, with a PUB socket connected to it, if we close the PUB then connect again, apparently, sent messages won't reach the SUB anymore.

Found the cause in pipe.cpp, where some part of the code has been swapped between the conflate case and the normal case (fix attached).

Environment

None

Status

Assignee

Unassigned

Reporter

Christophe Berbizier

Labels

Components

Affects versions

3.2.5
4.0.0
3.2.4

Priority

Major
Configure