We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6487fc commit 4c4782bCopy full SHA for 4c4782b
Enyim.Caching/Memcached/PooledSocket.cs
@@ -158,8 +158,7 @@ public int Available
158
159
public void Reset()
160
{
161
- // discard any buffered data
162
- _inputStream.Flush();
+ // _inputStream.Flush();
163
164
int available = _socket.Available;
165
@@ -172,10 +171,7 @@ public void Reset()
172
171
173
byte[] data = new byte[available];
174
175
- this.Read(data, 0, available);
176
-
177
- if (_logger.IsEnabled(LogLevel.Warning))
178
- _logger.LogWarning(Encoding.ASCII.GetString(data));
+ Read(data, 0, available);
179
}
180
181
if (_logger.IsEnabled(LogLevel.Debug))
0 commit comments