Memcache Client not Closing Connection When Done

Bug #337826 reported by Nikoleta Verbeck on 2009-03-04
Affects Status Importance Assigned to Milestone
Memcached Manager
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.

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():

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  Edit
Everyone can see this information.

Other bug subscribers