cnblogs / EnyimMemcachedCore

.NET Memcached client. Available on https://www.nuget.org/packages/EnyimMemcachedCore
Apache License 2.0
162 stars 45 forks source link

Cannot retrieve statistics values when specifying Servers by FQDN, #196

Open IcoDeveloper opened 1 year ago

IcoDeveloper commented 1 year ago

Accessing a memcached via SSL, so I need to specify the server address as FQDN.

"MemcachedClient": {
    "Servers": [
      {
        "Address": "memcached.ws-mbe-vm.example.com",
        "Port": 11211
      }
    ],
    "UseSslStream":  true
  }

This leads to a statistics object with keys of type DNSEndpoint which cannot be retrieved using GetValue because Getvalue tries to iterate or access the keys as IPEndpoints

cnblogs-dudu commented 1 year ago

EnyimMemcachedCore 2.6.6 has been released for this issue.