durusmail: durus-users: closing a durus connection
closing a durus connection
closing a durus connection
Aïssa HAMMOUCHI
2006-11-10
i do a connection  to a durus db :

c = Connection(ClientStorage(host='127.0.0.1',port=15000))

and now i want to close it, i thought that there was a method in
connection.py to close the connection ?
so i tried this :

c.storage.s.close()

but as you can see the 'closed' connection stuck in the CLOSE_WAIT state
when running netstat.

[ah@burt:/home/ah]netstat -an | grep 15000
tcp        0      0  127.0.0.1.15000        127.0.0.1.53127
CLOSE_WAIT
tcp        0      0  127.0.0.1.53127        127.0.0.1.15000
FIN_WAIT_2
tcp        0      0  127.0.0.1.15000        *.*                    LISTEN
any thoughts ?

A.H
reply