Memcache Client not Closing Connection When Done

Bug #337826 reported by Nikoleta Verbeck
4
Affects Status Importance Assigned to Milestone
Memcached Manager
Fix Released
Medium
Nikoleta Verbeck

Bug Description

Python-Memcache Client needs to close its connection when getting stats from the servers. Current stats are returned but the client connections are not closed.

Revision history for this message
DjW (8-launchpaddotnet-istillseeglaciers-com) wrote :

I haven't look at the code yet, but perhaps we can solve this with a context manager for the connection?

It is in the line of openSocket then do stuff, finally close?

with mySocket():
    doStuff()

Revision history for this message
Nikoleta Verbeck (nerdynick) wrote :

Fixed for stats/management window. Revision #80. We will need to look into having a connection management system when migrating to the separate memcached layer.

Changed in memcached-manager:
assignee: nobody → nerdynick
importance: Undecided → Medium
milestone: none → 0.1
status: New → Fix Committed
Changed in memcached-manager:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.