Asim Aslam
|
e7a12e6eb5
Fix connection leak. Use net.Addr.String() as freeconn map key. When the function SetServers is called the ServerList is replaced by a new set of net.Addr interfaces which no longer match those used as keys for the freeconn map. The underlying data structure is usually a TCPaddr or UnixAddr pointer. Go's equality operation on the map keys looks at the underlying pointer and thinks they are not the same so continues to create new connections assuming it does not have any free.
|
12 years ago |
Dietrich Featherston
|
fed7323a51
parse headers with or without a cas id (for kestrel, etc)
|
12 years ago |
John Graham-Cumming
|
b198fc8c17
Close connections that are being discarded
|
13 years ago |
John Graham-Cumming
|
1c05224a56
Fix a problem where an error in onItem could result in a bad connection being reused
|
13 years ago |
Brad Fitzpatrick
|
345e5c6ad1
use SetDeadline
|
14 years ago |
Brad Fitzpatrick
|
9282f3ff26
updates to time.Duration
|
14 years ago |
Brad Fitzpatrick
|
521adf1024
doc update
|
14 years ago |
Brad Fitzpatrick
|
cca20f10ed
fix TARG; move files up
|
14 years ago |
Brad Fitzpatrick
|
eb81789731
set timeouts
|
14 years ago |
Brad Fitzpatrick
|
68ce6b4bcd
reuse connections
|
14 years ago |
Brad Fitzpatrick
|
f75c32ecbd
add DeleteLock
|
14 years ago |
Brad Fitzpatrick
|
c549e0370e
rename some helpers
|
14 years ago |
Brad Fitzpatrick
|
1332296ec9
untested delete support
|
14 years ago |
Brad Fitzpatrick
|
3ee276038b
GetMulti support.
|
14 years ago |
Brad Fitzpatrick
|
9dd3d807af
add stubs for delete
|
14 years ago |
Brad Fitzpatrick
|
dfd34e9ac2
working Get
|
14 years ago |
Brad Fitzpatrick
|
7d98658c98
Start of a memcache client library.
|
14 years ago |