Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8
-
Windows 64- and 32-bit builds of cpp/qpidd
Description
Start the broker with a small number of connections:
qpidd --auth no --no-data-dir --max-connections 2
Run a 'server' program, one that never exits on its own, and kill it with ^C. After doing this for the max-number of connections the server will not accept any more connections. Internally to the broker the Connection objects are never destroyed.
If the broker's client exits normally then the connection is destroyed properly. You can run HelloWorld against the windows broker beyond the max-connections count with no problem.
I know that "the broker is not supported on Windows" but the same problem is there for clients when the broker goes away abruptly.