Need socket garabage collector
Bug #1374206 reported by
Michi Henning
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-api (Ubuntu) |
Fix Released
|
Critical
|
Michi Henning | ||
Utopic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We need to add a GC for the outgoing oneway connection pool to stop Zmq from indefinitely trying to reconnect once the target process has exited.
Note: this fix is a followup for the critical bugfix https:/
The fix for #1364464 was a quick fix, this one is a proper fix.
Related branches
lp:~michihenning/unity-scopes-api/reconnect-fix
- Marcus Tomlinson (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 406 lines (+219/-36)7 files modifiedCMakeLists.txt (+6/-1)
include/unity/scopes/internal/zmq_middleware/ConnectionPool.h (+24/-7)
src/scopes/internal/zmq_middleware/ConnectionPool.cpp (+45/-18)
src/scopes/internal/zmq_middleware/ZmqObject.cpp (+10/-10)
test/gtest/scopes/internal/zmq_middleware/CMakeLists.txt (+1/-0)
test/gtest/scopes/internal/zmq_middleware/ConnectionPool/CMakeLists.txt (+4/-0)
test/gtest/scopes/internal/zmq_middleware/ConnectionPool/ConnectionPool_test.cpp (+129/-0)
Changed in unity-scopes-api (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Michi Henning (michihenning) |
Changed in unity-scopes-api (Ubuntu): | |
importance: | Undecided → Critical |
tags: | added: rtm14 |
description: | updated |
Changed in unity-scopes-api (Ubuntu Utopic): | |
status: | New → Fix Released |
To post a comment you must log in.
This bug was fixed in the package unity-scopes-api - 0.6.7+14. 10.20141010. 1-0ubuntu1
--------------- 14.10.20141010. 1-0ubuntu1) utopic; urgency=medium
unity-scopes-api (0.6.7+
[ Marcus Tomlinson ]
* OnlineAccountClient fixes: run the internal event loop within its own context to avoid
clashing with external main loop (LP: #1377147).
* Introduced new dependencies on dbus-test-runner and libdbustest1-dev.
* Fix for Zmq infinite reconnection problem (LP: #1374206)
[ Ubuntu daily release ]
* New rebuild forced
-- Ubuntu daily release <email address hidden> Fri, 10 Oct 2014 19:24:20 +0000